Problem/Motivation
We were seeing some fieldsets not displaying, and there was "display:none" attribute on them. We discovered that the culprit was the template "element/details.html.twig" and some classes were not getting set on the element because the classes were hardcoded.
Steps to reproduce
Hard to reproduce - was a very random side effect for us. We were using the smart date module, and noticed the date fields would not show in this theme when editing a node with a smart_date field. Strange this was not a direct effect of the template, but a side effect.
Proposed resolution
Add classes with the .addClass() method so existing classes are maintained.
Remaining tasks
Review
User interface changes
None
API changes
None
Data model changes
None
Issue fork uswds-3541604
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
scott_earnest commentedComment #3
scott_earnest commentedComment #5
scott_earnest commentedComment #6
scott_earnest commentedComment #9
jrglasgow commented