Iterating through a FormArray containing FormGroups with *ngFor
问题 In Ionic 2 I am trying to create a dynamic form which shall display a list of toggle buttons. To do so I am trying to use a FormArray and relied on the Angular doc and mainly on this post Based on this, I implemented the following <form *ngIf="accountForm" [formGroup]="accountForm"> <ion-list> <!-- Personal info --> <ion-list-header padding-top> Informations personnelles </ion-list-header> <ion-item> <ion-label stacked>Prénom</ion-label> <ion-input formControlName="firstname" [value]="(user |