Angular

Lets Code Together - Validating an Edit Form with Reactive Forms

In this video

We get a brief introduction to this part of the course, and our first validation assignment.

Code Checkpoint

Assignment: Make the Name Required
  1. In the saveChanges method, make sure the form is valid, otherwise don't save changes
  2. Add a required validator on the name field
  3. Disable the save button when the form is invalid