#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).