I am trying to build a nested reactive form in Angular 5. I am able to push items at one level, but unable to push item at second level.
ngOnInit() {
this.
So first let start with understanding what you do.
You make a formarray in formarray. So this mean it have two loops. So you have to *ngFor the first and *ngFor the second. In the end this means you have an index i for your items and and j for your subItems. Then you can add addSubItems(i)
for pushing your subItems.
Your html should look something like this: