fix: Display change password validation message

This commit is contained in:
Jose Alberto Hernandez
2025-04-09 08:28:19 -05:00
parent 2327729106
commit e792124523
16 changed files with 54 additions and 43 deletions
@@ -42,18 +42,21 @@ export class ChangePasswordDialogComponent implements OnInit {
/** Change Password form */
createChangePasswordForm() {
this.changePasswordForm = this.formBuilder.group({
password: [
'',
this.passwordsUtility.getPasswordValidators()
],
repeatPassword: [
'',
[
Validators.required,
this.confirmPassword('password')]
]
});
this.changePasswordForm = this.formBuilder.group(
{
password: [
'',
this.passwordsUtility.getPasswordValidators()
],
repeatPassword: [
'',
[
Validators.required,
this.confirmPassword('password')]
]
},
{ updateOn: 'blur' }
);
}
/**