I have angular 11 template driven form with this input
<form #currentForm="ngForm">
<input matInput type="number" min="18" placeholder="Your age" name="age" [(ngModel)]="memberDetailForm.age">
</form>
{{ currentForm.controls.age?.errors | json }}
{{ currentForm.valid }}
Here form is not performing min validation check, even if I enter 15 which is less than 18, I see no errors and form shows valid.
However if I change the input type to text and have some other check like minLenth="5" and enter 4 chars, the error shows up and forms become invalid.
Can anybody help me understand this strange behavior?