jeudi 23 août 2018

Angular formgroup is not working

I want to get the array of checked values using FormGroup instead of FormBuilder.

My followed the code in this stackblitz link

https://stackblitz.com/edit/angular-stszta

this.form = new FormGroup({
      orders: new FormArray(controls, minSelectedCheckboxes(1))
    });

Instead of




Aucun commentaire:

Enregistrer un commentaire