••••••••••••••• @if (resetPasswordErrors.length > 0) { }
@if (passwordChangeForm.get('oldPassword'); as formControl) {
@if (passwordChangeForm.dirty || passwordChangeForm.touched) {
@if (formControl.errors?.required) {
{{t('required-field')}}
}
}
} @if (passwordChangeForm.get('password'); as formControl) {
@if (passwordChangeForm.dirty || passwordChangeForm.touched) {
@if (formControl.errors?.required) {
{{t('required-field')}}
}
}
} @if (passwordChangeForm.get('confirmPassword'); as formControl) {
@if (passwordChangeForm.dirty || passwordChangeForm.touched) {
@if (formControl.errors?.required) {
{{t('required-field')}}
} @if (!passwordsMatch) {
{{t('passwords-must-match')}}
}
}
}