Try to remove a control that I add to a form
I have tried this.*FormArray*.splice but it doesn't compile. Saying that FormArray has no method splice. Then I tried removeAt() but then when I run the code the error says, removeAt is not a method. One compile time fails, the next runtime fails.
I want to remove a control from an array of controls.
FormArray, you can do it like this (specifying the index):removeAt(<index>). If you want to remove a specific control from each FormGroup, you'll have to loop through the FormArray. - developer033