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.
When there are no components, the core tabedrag.js looks to the faux "add component" row in the component table to find the weight column. This row has a colspan to combine the name and form_key columns. tabledrag.js is smart enough to cope with colspans when finding the weight column (although oddly it is smart enough when hiding them). The solution is to not use a colspan and supply an empty form_key only when there are no components.
Comment | File | Size | Author |
---|---|---|---|
#3 | webform-tabledrag-2759623-2.patch | 1.15 KB | DanChadwick |
Comments
Comment #3
DanChadwick CreditAttribution: DanChadwick at PreviousNext commentedCommitted to 7.x-4.x.
D8 backport needed, if D8 has the same tabledrag.js lack of support for colspan.
Comment #4
DanChadwick CreditAttribution: DanChadwick at PreviousNext commentedComment #5
DanChadwick CreditAttribution: DanChadwick at PreviousNext commentedComment #6
fenstratClosing to clear out the old Webform 8.x-4.x branch. See #2827845: [roadmap] YAML Form 8.x-1.x to Webform 8.x-5.x.