From af35764e1454e7e8729ba5d7e086d5a62535d423 Mon Sep 17 00:00:00 2001 From: cswong1991 <91795740+cswong1991@users.noreply.github.com> Date: Sun, 22 Oct 2023 12:49:19 +0800 Subject: [PATCH] Update register.component.html Fix confirm password error Value is valid even if password and confirmPassword is not equal --- src/framework/auth/components/register/register.component.html | 1 + 1 file changed, 1 insertion(+) diff --git a/src/framework/auth/components/register/register.component.html b/src/framework/auth/components/register/register.component.html index 6f7a486845..6aa5e56273 100644 --- a/src/framework/auth/components/register/register.component.html +++ b/src/framework/auth/components/register/register.component.html @@ -111,6 +111,7 @@

Register

fieldSize="large" [status]="rePass.dirty ? (rePass.invalid || password.value != rePass.value ? 'danger' : 'success') : 'basic'" [required]="getConfigValue('forms.validation.password.required')" + [pattern]="password.value" [attr.aria-invalid]="rePass.invalid && rePass.touched ? true : null">