Angular
Intro to Reactive Forms in Angular - Validate Forms

Exercise: Adding Error Messages

PRO
Outline

In this exercise what I'd like you to do is:
1. Add a second error message for nameControl to let the user know they must enter a min length. (Hint: the error key is minlength, all lowercase.)
2. Find where you can reduce repetition and wrap the nameControl error messages in a div that keeps the code DRY.
3. Disable the apply button if the form is invalid

Exercise Link: https://stackblitz.com/fork/rxngforms-validation-ex2

 

I finished! On to the next chapter