Dynamic Nested Reactive Forms In Angular
Josh Hicks
2304

Thanks for the great article!

I am wondering how to add list of Player on init? tried this, not working

private teamForm: BehaviorSubject<FormGroup | undefined>
= new BehaviorSubject(
this.fb.group(
new TeamForm(new Team('Cavaliers',
[ new Player('Kevin Love'),
new Player('George Hill')
]))
)
)