I have this form group:
this.form = fb.group({
'teacher': [''],
'schools': fb.array([
fb.group({
'school_name': [''],
'school_description': [''],
})
})
});
The question is:
How can I add a new form control (named school_city
) to a specific *group" of FormArray
programatically through a function?