@if (resetFormControls['password'].touched && resetFormControls['password'].errors) {
@if (resetFormControls['password'].errors['required']) {
Passwort ist erforderlich
}
@if (resetFormControls['password'].errors['minlength']) {
Passwort muss mindestens 8 Zeichen lang sein
}
}
@if (
resetFormControls['confirmPassword'].touched &&
(resetFormControls['confirmPassword'].errors ||
resetPasswordForm.errors?.['passwordMismatch'])
) {
@if (resetFormControls['confirmPassword'].errors?.['required']) {
Passwortbestätigung ist erforderlich
}
@if (resetPasswordForm.errors?.['passwordMismatch']) {
Passwörter stimmen nicht überein
}
}