Created
September 20, 2019 12:50
-
-
Save CharlieGreenman/9a9dccb8ff09a01475e2b6cdaf272148 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form [formGroup]="myForm"> | |
<input type="text" formControlName="name"> | |
<input type="email" formControlName="email"> | |
<!-- Other related errors go here--> | |
<div *ngIf="myForm.get('email').errors && myForm.get('email').errors.emailUnavailable"> | |
This email is already taken. | |
</div> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment