Angular
Intro to Reactive Forms in Angular - FormControl Foundations

Solution: Updating FormControl

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-updateformcontrol-solution

Solution
1. Update changeName() to call setValue() on lastNameControl
2. Optionally change the value that setValue is using as an argument
3. Test it out by clicking the button and seeing if Last Name's value updates

 

I finished! On to the next chapter