<mat-error*ngIf="usernameFormControl.hasError('email') && !usernameFormControl.hasError('required')">Username must
<mat-error*ngIf="usernameFormControl.hasError('email') && !usernameFormControl.hasError('required')">Please enter a <strong>valid</strong> e-mail address.
be a <strong>valid</strong> email address.
</mat-error>
</mat-error>
<mat-error*ngIf="usernameFormControl.hasError('required')">Username is <strong>required</strong>.</mat-error>
<mat-error*ngIf="usernameFormControl.hasError('required')">E-mail is <strong>required</strong>.</mat-error>
</mat-form-field>
</mat-form-field>
<mat-form-fieldclass="input-block">
<mat-form-fieldclass="input-block">
...
@@ -15,8 +14,8 @@
...
@@ -15,8 +14,8 @@
<mat-error*ngIf="passwordFormControl.hasError('required')">Password is <strong>required</strong>.</mat-error>
<mat-error*ngIf="passwordFormControl.hasError('required')">Password is <strong>required</strong>.</mat-error>