π Regression from #3341682: #states + #required do not automatically work together, resulting in an unsubmittable AccountSettingsForm Fixed revealed that a required field hidden by #state isn't visible to the user so it's not clear what is wrong to the user.
Install umami
Visit en/admin/config/people/accounts
In the 'Account activation' tab, empty the subject field and then untick 'Notify user when account is activated'
Save the form and note the error message 'This value should not be blank' but observe that neither the vertical tab or the invalid field can be easily found.
If a field is invalid, but hidden by #states, make it visible
Active
11.0 π₯
Last updated
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.