DEV Community

Discussion on: Nested FormArrays in Angular ReactiveForms

Collapse
 
danww profile image
Daniel Willis

Thanks, this example is great - exactly what I needed.
One small thing I discovered was that the template didn't like iterating over the controls.

I had to change this:

let player of team.get('players').controls

to this:

let player of team.get('players')['controls']