- Merge request !134Issue #3284647: Respect widget collapsed property unless nested field validation fails β (Open) created by plopesc
When using the InlineEntityFormSimple or InlineEntityFormComplex widget, site administrators can determine whether the details item that contains the IEF widget is collapsed or expanded by default.
This behavior is respected when the form is rendered for the 1st time and works as expected.
However, if the form validation fails after submitting the form, all the IEF widgets appears as expanded, even if their fields were correct.
In situations where there are multiple IEF widgets at the same time in the page, this behavior can be confusing.
Our expected behavior is that only IEF widgets whose validation failed should be always open, but the rest, should respect the widget settings.
This is related and inspired by #2894213: Ensure visibility of invalid fields (serverside) β
Add logic to respect the expand/collapse desired logic after form validations fails.
None
None
None
Needs work
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.