diff --git a/src/app/shared/components/password-hide-show/password-hide-show.component.ts b/src/app/shared/components/password-hide-show/password-hide-show.component.ts index c937edd..601af4d 100644 --- a/src/app/shared/components/password-hide-show/password-hide-show.component.ts +++ b/src/app/shared/components/password-hide-show/password-hide-show.component.ts @@ -13,7 +13,7 @@ import { NG_VALUE_ACCESSOR } from '@angular/forms'; styleUrl: './password-hide-show.component.scss' }) export class PasswordHideShowComponent { -@Output() onEyeClick = new EventEmitter(); + @Output() onEyeClick = new EventEmitter(); @Input() showPassword : boolean = false; inputType : String = ''; constructor() { } @@ -26,4 +26,7 @@ export class PasswordHideShowComponent { this.showPassword = !this.showPassword; this.onEyeClick.emit(); } + reset() { + this.showPassword = true; + } } diff --git a/src/app/user-management/reset-password-modal/reset-password-modal.component.html b/src/app/user-management/reset-password-modal/reset-password-modal.component.html new file mode 100644 index 0000000..75546b7 --- /dev/null +++ b/src/app/user-management/reset-password-modal/reset-password-modal.component.html @@ -0,0 +1,78 @@ +