This commit is contained in:
이담 정 2022-10-06 06:47:15 +00:00
parent 0bc0edb91b
commit 139cd5e001
2 changed files with 8 additions and 7 deletions

View File

@ -82,12 +82,12 @@
<mat-form-field>
<mat-label>비밀번호</mat-label>
<input
[type]="hide ? 'password' : 'text'"
[type]="hide1 ? 'password' : 'text'"
matInput
[formControlName]="'password'"
/>
<mat-icon matSuffix (click)="hide = !hide">{{
hide ? "visibility off" : "visibility"
<mat-icon matSuffix (click)="hide1 = !hide1">{{
hide1 ? "visibility_off" : "visibility"
}}</mat-icon>
<mat-error *ngIf="composeForm.get('password')?.hasError('required')">
비밀번호는 필수 입력입니다.
@ -101,12 +101,12 @@
<mat-form-field>
<mat-label>환전 비밀번호</mat-label>
<input
[type]="hide ? 'password' : 'text'"
[type]="hide2 ? 'password' : 'text'"
matInput
[formControlName]="'exchangePassword'"
/>
<mat-icon matSuffix (click)="hide = !hide">{{
hide ? "visibility_off" : "visibility"
<mat-icon matSuffix (click)="hide2 = !hide2">{{
hide2 ? "visibility_off" : "visibility"
}}</mat-icon>
<mat-error
*ngIf="composeForm.get('exchangePassword')?.hasError('required')"

View File

@ -47,7 +47,8 @@ export class RegistComposeComponent implements OnInit {
message: '등록이 성공하였습니다.',
};
hide: boolean = true;
hide1: boolean = true;
hide2: boolean = true;
showAlert: boolean = false;
isSendDisable = false;
/**