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.
See attachment. This is using a date field, but I have also experienced it with the office_hours module field.
Comment | File | Size | Author |
---|---|---|---|
#1 | field_group-images-broken.png | 21.08 KB | mstrelan |
field_group-tabledrag-broken.png | 12.5 KB | mstrelan |
Comments
Comment #1
mstrelan CreditAttribution: mstrelan commentedAlso my multi value image field doesn't display the field label when in a vertical tab.
Comment #2
mstrelan CreditAttribution: mstrelan commentedThis does however work fine when you click "Show row weights". I haven't gone in to the code thoroughly but I'm guessing the non JS version is loaded first, then field group does its thing, then tabledrag tries to convert it to the js version, and then it screws up after that.
Comment #3
mstrelan CreditAttribution: mstrelan commentedFurther debugging:
misc/tabledrag.js (Around line 121)
This only finds headers that are not hidden. Placing these fields in vertical tabs obviously hides the headers. Perhaps this is a core bug, or perhaps this could be resolved by calling something like Drupal.tableDrag.prototype.initColumns() on the table when the vertical tab is activated, which I guess would be another core issue.
Comment #4
mstrelan CreditAttribution: mstrelan commentedWow I wish I found this earlier. #303189: Tabledrag doesn't hide columns when the whole table is initially hidden
Commited to 8.x and 7.x.