Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Setup:
1. Add a required field to a Details field group on a content type.
2. Go to node add for the above content type.
3. Don't fill out the require field and save content entry.
Expected result: Form submission fails and the details element is opened with the field outlined in red.
Actual result: Form submission fails but the details element is closed. You then have to open it up to discover what field failed.
As you can imagine, if you have > 5 collapsible details it provides a poor UX to require the content creator to hunt and find which element contains the error.
Comments
Comment #2
nils.destoop CreditAttribution: nils.destoop as a volunteer and at Wunder commentedThis seems like an issue for core as details element is part of core. Moving to core to see what they think of this.
Comment #3
gngn CreditAttribution: gngn at Computer Manufaktur GmbH commentedSorry - got this mixed up with HTML5 validation - https://www.drupal.org/node/1797438
But I still think this is worse than poor UX...
Comment #4
nod_