We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 700e70c commit 75dd26eCopy full SHA for 75dd26e
src/app/public/components/register/register.component.html
@@ -36,7 +36,6 @@
36
Last Name is required</mat-error>
37
</mat-form-field>
38
39
-
40
<mat-form-field>
41
<input type="password" matInput placeholder="Password" formControlName="password">
42
<mat-error
@@ -51,6 +50,10 @@
51
50
Password Confirmation is required</mat-error>
52
53
+ <mat-error
54
+ *ngIf="this.registerForm.get('passwordConfirm')?.dirty && this.registerForm.hasError('passwordsNotMatching')">
55
+ Passwords are not matching!</mat-error>
56
+
57
<div class="button">
58
<!-- Button is disabled(not clickable), if our RegisterForm contains Validation Errors -->
59
<button type="submit" mat-button [disabled]="!registerForm.valid">Register</button>
0 commit comments