password 처리
This commit is contained in:
parent
139cd5e001
commit
13d65a58bf
|
@ -82,12 +82,12 @@
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
<mat-label>비밀번호</mat-label>
|
<mat-label>비밀번호</mat-label>
|
||||||
<input
|
<input
|
||||||
[type]="hide1 ? 'password' : 'text'"
|
[type]="hideSigninPassword ? 'password' : 'text'"
|
||||||
matInput
|
matInput
|
||||||
[formControlName]="'password'"
|
[formControlName]="'password'"
|
||||||
/>
|
/>
|
||||||
<mat-icon matSuffix (click)="hide1 = !hide1">{{
|
<mat-icon matSuffix (click)="hideSigninPassword = !hideSigninPassword">{{
|
||||||
hide1 ? "visibility_off" : "visibility"
|
hideSigninPassword ? "visibility_off" : "visibility"
|
||||||
}}</mat-icon>
|
}}</mat-icon>
|
||||||
<mat-error *ngIf="composeForm.get('password')?.hasError('required')">
|
<mat-error *ngIf="composeForm.get('password')?.hasError('required')">
|
||||||
비밀번호는 필수 입력입니다.
|
비밀번호는 필수 입력입니다.
|
||||||
|
@ -101,13 +101,15 @@
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
<mat-label>환전 비밀번호</mat-label>
|
<mat-label>환전 비밀번호</mat-label>
|
||||||
<input
|
<input
|
||||||
[type]="hide2 ? 'password' : 'text'"
|
[type]="hideExchangePassword ? 'password' : 'text'"
|
||||||
matInput
|
matInput
|
||||||
[formControlName]="'exchangePassword'"
|
[formControlName]="'exchangePassword'"
|
||||||
/>
|
/>
|
||||||
<mat-icon matSuffix (click)="hide2 = !hide2">{{
|
<mat-icon
|
||||||
hide2 ? "visibility_off" : "visibility"
|
matSuffix
|
||||||
}}</mat-icon>
|
(click)="hideExchangePassword = !hideExchangePassword"
|
||||||
|
>{{ hideExchangePassword ? "visibility_off" : "visibility" }}</mat-icon
|
||||||
|
>
|
||||||
<mat-error
|
<mat-error
|
||||||
*ngIf="composeForm.get('exchangePassword')?.hasError('required')"
|
*ngIf="composeForm.get('exchangePassword')?.hasError('required')"
|
||||||
>
|
>
|
||||||
|
|
|
@ -47,8 +47,8 @@ export class RegistComposeComponent implements OnInit {
|
||||||
message: '등록이 성공하였습니다.',
|
message: '등록이 성공하였습니다.',
|
||||||
};
|
};
|
||||||
|
|
||||||
hide1: boolean = true;
|
hideSigninPassword: boolean = true;
|
||||||
hide2: boolean = true;
|
hideExchangePassword: boolean = true;
|
||||||
showAlert: boolean = false;
|
showAlert: boolean = false;
|
||||||
isSendDisable = false;
|
isSendDisable = false;
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user