Problem/Motivation

The "Order" column title is visible even if "show row weights" is disabled (only on empty fields).

Steps to reproduce

1. Create a new node or edit an existing one with an empty multiple field
2. The "Order" column label (<th>) is visible even if the "hide row weights" has been previously selected. Until an item is added, the "Hide/Show row weights" action is not visible
4. When an item is added the "Show row weights" action became visible and the "Order" label is hidden.

Proposed resolution

Hide "Order" column title if "Show row weights" is disabled.

Comments

FiNeX created an issue. See original summary.

finex’s picture

Issue summary: View changes
cilefen’s picture

Does this happen only in Claro theme? That is the category setting of this issue.

finex’s picture

Yes, on Gin theme it works as expected.

bjc2265’s picture

I haven't been able to reproduce this. I followed steps using Drupal 10.2.1, Claro admin theme, in both Chrome and Firefox. I created a new content type and added a plain text field allowing up to 15 values (also tried with unlimited values). Form behaved as expected.

Is anyone able to reproduce this?

ETA: When I inspect I do see that the <th> element is still present, but it has no content.

alex.87’s picture

I can't reproduce this either, can you please add screenshots and maybe update the Testing steps with additional details?

shweta__sharma’s picture

+1 Not able to replicate the issue.

Version: 10.2.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

vengador’s picture

Status: Active » Closed (duplicate)
vengador’s picture