Angular
Intro to Reactive Forms in Angular - Building a Form with Groups

Solution: Nested FormGroups

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

https://stackblitz.com/fork/rxngforms-nestedformgroup-solution

Solution
1. After hobbyControl in the applicationForm initialization, add a new FormGroup called contactInfo.
2. Inside contactInfo, add 2 FormControls called email and phoneNumber with initial values.
3. Add formGroupName directive to the div in the template.

 

I finished! On to the next chapter