Vote #81221
完了Custom field labels do not contain class "error" when the field value is invalid
0%
説明
When the form contains invalid field values, the class "error" is added only to standard fields. We should add it also to custom fields in order to be able to highlight those fields (#32764).
The attached patch fixes this.
journals
All tests pass: https://gitlab.com/redmine-org/redmine/-/pipelines/239464521
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Committed as a part of #32764. Thank you.
--------------------------------------------------------------------------------
We should keep this in Changelog because there were some changes regarding how the validation messages are stored in the object.
--------------------------------------------------------------------------------
related_issues
relates,Closed,32764,Make form validation errors more obvious for users