#91622Error class does not get applied to Advanced Password field
Description
As titled, the error class does not get applied to Advanced Password fields if the field is required.
The form won’t be submitted if one of those fields is empty or they are not equal, but the error class is not set.
TYPO3 9.5.19 (but also in older v9 Versions).
Reviews 2
Files 1
History 58
-
Björn Jacob changed Sprint Focus Remote Sprint <span data-processor="relativetime" data-value="2021-08-06T12:38:03+00:00" > 08/06/21, 12:38 </span>
-
Björn Jacob commented and changed attached 91622.PNG status
NewAccepted TYPO3 Version911 <span data-processor="relativetime" data-value="2021-08-13T09:26:11+00:00" > 08/13/21, 09:26 </span> -
Mathias Brodala commented <span data-processor="relativetime" data-value="2021-08-13T13:37:09+00:00" > 08/13/21, 13:37 </span>
Current findings:
AbstractFormFieldViewHelper::setErrorClassAttribute()does not add theerrorClass- The reason could be the virtual properties
passwordandconfirmationas used byAdvancedPassword - The mapping results don’t contain errors for each of these properties but their “parent” does.
-
Gerrit Code Review pushed patch set 1 for main to change 91013 status
AcceptedUnder Review <span data-processor="relativetime" data-value="2025-10-11T15:36:39+00:00" > 10/11/25, 15:36 </span> -
Gerrit Code Review pushed patch set 1 for 13.4 to change 91216 <span data-processor="relativetime" data-value="2025-10-23T08:29:38+00:00" > 10/23/25, 08:29 </span>
-
Gerrit Code Review pushed patch set 2 for 13.4 to change 91216 <span data-processor="relativetime" data-value="2025-10-23T08:39:21+00:00" > 10/23/25, 08:39 </span>
-
Josua Vogel commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2025-10-23T09:15:08+00:00" > 10/23/25, 09:15 </span>Applied in changeset commit:9dd225167bcb1f6bf643a86d62be55f161ff4192.
-
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-12-02T14:36:47+00:00" > 12/02/25, 14:36 </span>
Still not working in current master. See attached screenshot from my test. The elementErrorClass (“error”) is not added to the input field. Everything is defined and seems fine:
We have to further investigate it.