SES-123 Lint errors fix
This commit is contained in:
parent
607145f45f
commit
b82393a62b
@ -11,7 +11,7 @@
|
|||||||
type="text"
|
type="text"
|
||||||
required
|
required
|
||||||
name="username">
|
name="username">
|
||||||
<mat-error *ngIf="signUpFormGroup?.get('newAccount')?.controls?.username?.hasError('required')">
|
<mat-error *ngIf="signUpFormGroup?.get('newAccount')['controls']?.username?.hasError('required')">
|
||||||
Username is required
|
Username is required
|
||||||
</mat-error>
|
</mat-error>
|
||||||
<mat-icon matSuffix>person</mat-icon>
|
<mat-icon matSuffix>person</mat-icon>
|
||||||
@ -26,7 +26,7 @@
|
|||||||
type="password"
|
type="password"
|
||||||
name="password"/>
|
name="password"/>
|
||||||
<mat-icon matSuffix>lock</mat-icon>
|
<mat-icon matSuffix>lock</mat-icon>
|
||||||
<mat-error *ngIf="signUpFormGroup?.get('newAccount')?.controls?.password?.hasError('required')">
|
<mat-error *ngIf="signUpFormGroup?.get('newAccount')['controls']?.password?.hasError('required')">
|
||||||
Password is required
|
Password is required
|
||||||
</mat-error>
|
</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
@ -40,10 +40,10 @@
|
|||||||
type="password"
|
type="password"
|
||||||
name="confirmPassword"/>
|
name="confirmPassword"/>
|
||||||
<mat-icon matSuffix >lock</mat-icon>
|
<mat-icon matSuffix >lock</mat-icon>
|
||||||
<mat-error *ngIf="signUpFormGroup?.get('newAccount')?.controls?.confirmPassword?.hasError('required')">
|
<mat-error *ngIf="signUpFormGroup?.get('newAccount')['controls']?.confirmPassword?.hasError('required')">
|
||||||
Confirm your password
|
Confirm your password
|
||||||
</mat-error>
|
</mat-error>
|
||||||
<mat-error class="password-mismatch" *ngIf="signUpFormGroup?.get('newAccount')?.controls?.confirmPassword?.hasError('mismatch')">
|
<mat-error class="password-mismatch" *ngIf="signUpFormGroup?.get('newAccount')['controls']?.confirmPassword?.hasError('mismatch')">
|
||||||
Please make sure your passwords match
|
Please make sure your passwords match
|
||||||
</mat-error>
|
</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
type="text"
|
type="text"
|
||||||
required
|
required
|
||||||
name="username">
|
name="username">
|
||||||
<mat-error *ngIf="signInFormGroup?.get('signIn')?.controls?.username?.hasError('required')">
|
<mat-error *ngIf="signInFormGroup?.get('signIn')['controls']?.username?.hasError('required')">
|
||||||
Username is required
|
Username is required
|
||||||
</mat-error>
|
</mat-error>
|
||||||
<mat-icon matSuffix>person</mat-icon>
|
<mat-icon matSuffix>person</mat-icon>
|
||||||
@ -28,7 +28,7 @@
|
|||||||
type="password"
|
type="password"
|
||||||
name="password"/>
|
name="password"/>
|
||||||
<mat-icon matSuffix>lock</mat-icon>
|
<mat-icon matSuffix>lock</mat-icon>
|
||||||
<mat-error *ngIf="signInFormGroup?.get('signIn')?.controls?.password?.hasError('required')">
|
<mat-error *ngIf="signInFormGroup?.get('signIn')['controls']?.password?.hasError('required')">
|
||||||
Password is required
|
Password is required
|
||||||
</mat-error>
|
</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
Loading…
Reference in New Issue
Block a user