Hi, after a recent update I have problem with form validation as the "touched" property does not work as expected.
<div ngIf="email.hasError('required') && email.touched" class="error-box"> email is requred
<div ngIf="email.hasError('pattern') && email.touched" class="error-box"> invalid email
What happens is that the form control is marked as touched as soon as the user starts entering. Previously, it was required that the control looses focus before it is marked as touched. Any help please.