feedback setup update

feedback setup update
mazdak/UX-1350
Mazdak Gibran 3 days ago
parent 7228790cc8
commit b0f8311a2c

@ -77,10 +77,10 @@
class="mandatory">*</span>
</label>
<div class="password-wrapper position-relative w-100">
<input id="confirmPassword" class="form-control" type="{{passwordType1}}"
<input id="confirmPassword" class="form-control" type="{{confirmPasswordType}}"
placeholder="{{ 'confirmPassword' | translate }}" appNoWhitespaces />
<app-password-hide-show #psh1 class="password-eye align-items-stretch" [showPassword]="true"
(onEyeClick)="togglePasswordType1()"></app-password-hide-show>
<app-password-hide-show #cpsh class="password-eye align-items-stretch" [showPassword]="true"
(onEyeClick)="toggleConfirmPasswordType()"></app-password-hide-show>
<!-- <div class="text-danger">
<div>

@ -14,15 +14,15 @@ import { PasswordHideShowComponent } from '../../shared/components/password-hide
})
export class FeedbackSetupComponent {
@ViewChild('psh') passwordHideShow ?: PasswordHideShowComponent
@ViewChild('psh1') passwordHideShow1 ?: PasswordHideShowComponent
@ViewChild('cpsh') confirmPasswordHideShow ?: PasswordHideShowComponent
passwordType: string = 'password';
passwordType1: string = 'password';
confirmPasswordType: string = 'password';
togglePasswordType(){
this.passwordType = this.passwordHideShow?.showPassword ? 'password' : 'text';
}
togglePasswordType1(){
this.passwordType1 = this.passwordHideShow1?.showPassword ? 'password' : 'text';
toggleConfirmPasswordType(){
this.confirmPasswordType = this.confirmPasswordHideShow?.showPassword ? 'password' : 'text';
}
}

Loading…
Cancel
Save