FormArray
Introduction
Section titled “Introduction”FormArray manages a dynamic list of FormControl or FormGroup instances, useful for collections that users can add/remove.
Example
Section titled “Example”this.skills = new FormArray([ new FormControl('Angular'), new FormControl('TypeScript')]);
addSkill() { this.skills.push(new FormControl(''));}
removeSkill(index: number) { this.skills.removeAt(index);}Summary
Section titled “Summary”FormArray handles dynamic collections of form controls with ease.”