Angular
Lets Code Together - Validating an Edit Form with Reactive Forms

Make Season Starts & Ends Required

Mute
Current Time 0:00
/
Duration Time 0:00
Loaded: 0%
Progress: 0%
Stream TypeLIVE
Remaining Time -0:00
 
PRO

In this video

We make the season start & end fields required.

Assignment: Group the Seasons together for Validation
  1. Group the seasons controls together in the form in the component using a seasons formGroup.
  2. Group them together in the HTML. Use the ng-container element.
  3. Place the formGroup directive on the ng-container.
  4. Don't forget to adjust the shape of the object in the pathValue call in editLeague.
  5. Don't do any actual validation yet.
 

I finished! On to the next chapter