Angular - Template-Driven Forms
In Angular, given this template snippet:
What happens if the user clicks into the input, enters an invalid email, then clicks away?
<input [formControl]="emailControl"> <div *ngIf="emailControl.invalid && emailControl.touched">Invalid email address</div>
What happens if the user clicks into the input, enters an invalid email, then clicks away?
