The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Understand the Angular 2 States of Inputs: Pristine and Untouched

Understand the Angular 2 States of Inputs: Pristine and Untouched

1:44
Angular 2’s `ngModel` exposes more than just validity, it even gives you the states of whether the `input` has been “touched” or changed. This lesson explains and compares those states so you can use them to make complex validity requirements.
Watch this lesson now
Avatar
egghead.io

Angular 2’s ngModel exposes more than just validity, it even gives you the states of whether the input has been “touched” or changed. This lesson explains and compares those states so you can use them to make complex validity requirements.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?