Skip to content

Commit

Permalink
fix: Add condition to hide validation error for unmatching passwords …
Browse files Browse the repository at this point in the history
…when required condition is present (#3409)
  • Loading branch information
bistaastha authored Jan 7, 2025
1 parent f30f660 commit 7b4dd49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/auth/new-password/new-password.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
Password cannot be empty
</div>
<div
*ngIf="fg.controls.confirmPassword.touched && fg.controls.confirmPassword.invalid && fg.controls.confirmPassword.errors.passwordMismatch"
*ngIf="fg.controls.confirmPassword.touched && fg.controls.confirmPassword.invalid && fg.controls.confirmPassword.errors.passwordMismatch && !fg.controls.confirmPassword.errors.required"
class="new-password__error"
>
Passwords do not match
Expand Down

0 comments on commit 7b4dd49

Please sign in to comment.