Which property of a FormControl instance would you check to determine if the user has interacted with a particular form control?

  • dirty
  • pristine
  • touched
  • untouched
To determine if the user has interacted with a particular form control in Angular Reactive Forms, you would check the touched property of the FormControl instance. It becomes true when the user has focused and blurred the form control, indicating interaction. The dirty property indicates if the value has changed.
Add your answer
Loading...

Leave a comment

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