Is it It looks like Angular2\'s FormGroup.patchValue() doesn\'t push new elements into an array.
For example something like this:
ngOnInit() {
Well, as silentsod said, it is not possible. Currently, I am using below as an alternative:
let controlArray = this.form.controls['apps'];
this.list.forEach(app => {
const fb = this.buildGroup();
fb.patchValue(app);
controlArray.push(fb);
});
Angular Team - We need a new function something like PatchArray() that would patch from a collection/object graph. It is a basic use case.