Angular - Template-Driven Forms
In this Angular template:
The error message never appears even when the input is empty and blurred. What is the most probable cause?
<input [formControl]="nameControl"> <div *ngIf="nameControl.invalid && nameControl.touched">Name is required</div>
The error message never appears even when the input is empty and blurred. What is the most probable cause?
