Make password field empty on focus & disable visibility toggle if dummy password

This commit is contained in:
shamoon
2023-11-30 16:48:40 -08:00
parent 48643d8067
commit 954782ca3b
4 changed files with 28 additions and 13 deletions

View File

@@ -112,6 +112,8 @@ export class ProfileEditDialogComponent implements OnInit, OnDestroy {
}
onPasswordChange(): void {
console.log(this.currentPassword, this.newPassword)
this.showPasswordConfirm = this.currentPassword !== this.newPassword
if (this.showPasswordConfirm) {