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.
If I edit a node that contains a hierarchical vocabulary and terms at a deep level are selected, the form element is displayed as a collapsed fieldset, thus not showing the selected terms from the deep level.
Is there a way to automatically open all parental fieldsets of selected terms?
Comment | File | Size | Author |
---|---|---|---|
#2 | parent-collapsed.patch | 1.9 KB | jcisio |
Comments
Comment #1
Coupon Code Swap CreditAttribution: Coupon Code Swap commented+1
There must be a way to render the fieldsets of parent terms as expanded upon editing the node when child terms have been previously selected. All other term parents should remain collapsed if no child terms have been selected.
Comment #2
jcisio CreditAttribution: jcisio commentedPatch attached. However it needs #369656: TTS doesn't save parent terms? to be committed.
Comment #3
jcisio CreditAttribution: jcisio commentedPatch committed.
Comment #4
jcisio CreditAttribution: jcisio commentedComment #6
jcisio CreditAttribution: jcisio commentedFYI, multi level parent fieldsets issue is continue at #992494: Expand *all* parent fieldsets of selected terms (Reopened)