Angular · Middle · Question 37 of 75
How do async validators behave in Angular forms?
- ✓Correct answer: They run after all sync validators pass; the control is
PENDINGwhile they run - 2They replace sync validators completely
- 3They run on every keystroke regardless of sync errors
Explanation
Typical use is checking whether a username is taken. Combine with updateOn: 'blur' or debouncing in the validator to avoid a request per keystroke.