Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Steps to reproduce:
- Create a webform
- Go to form components
Result:
- drag and drop icon is visible
- Link "Show row weights" is visible
- Column "Required" is hidden
- Column "Weight" is visible
- Class "tabledrag-hide" is on the wrong th tag
Steps to reproduce:
- Click "Show row weights"
Result:
- drag and drop icon is hidden
- Link "Hide row weights" is visible
- Column "Required" is visible
- Column "Weight" is visible
- Class "tabledrag-hide" is on the wrong th tag
Comment | File | Size | Author |
---|---|---|---|
#7 | webform_normal_view.png | 15.97 KB | balajidharma |
#6 | webform_size_issue.png | 32.33 KB | balajidharma |
#2 | webform-column-required-is-hidden-2662094-2.patch | 1.21 KB | balajidharma |
| |||
Issue-webform.png | 412.02 KB | k1m |
Comments
Comment #2
balajidharmaComment #3
nicrodgersI've replicated the issue by following the steps in the summary, and can confirm the patch has applied successfully and fixes the issue.
However it looks like the patch also (accidentally?) includes an unrelated change to the size of the name field:
Comment #4
balajidharmaIf name field size 30 means makes UI issue. So only i reduced size to 15.
Comment #5
nicrodgersHi balajidharma, I think it'd be better to remove that change from the patch and create a new issue for the UI issue you describe, as it's not directly related to this. This will help prevent scope creep. See the issue scoping guidance here for more info https://www.drupal.org/core/scope
Comment #6
balajidharmaHi Nic Rodgers,
For this issue i removed colspan for name field and added formkey field in webform components. Due to this changes name field take 30% size in table. So i reduced name field size.
Thanks,
Balaji D
Comment #7
balajidharmaComment #8
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedthis is a dupe of https://www.drupal.org/node/2649042 (the patches are almost identical)