To display a validation error message only when a form control is touched and invalid, you can use the expressions formControlName._____ and formControlName._____.

  • dirty, pristine
  • touched, pristine
  • valid, dirty
  • valid, invalid
To display a validation error message only when a form control is touched and invalid, you can use the expressions formControlName.touched and formControlName.pristine.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *