From fc305305e165b971129269ccc26fb7d81dc341c1 Mon Sep 17 00:00:00 2001 From: Renan Montebelo Date: Thu, 7 Mar 2019 22:26:20 -0600 Subject: [PATCH] docs(forms): adding `clear` method to FormArray documentation (#29180) PR Close #29180 --- packages/forms/src/model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/forms/src/model.ts b/packages/forms/src/model.ts index 71d6ad0f6b..711ff372ab 100644 --- a/packages/forms/src/model.ts +++ b/packages/forms/src/model.ts @@ -1639,7 +1639,7 @@ export class FormGroup extends AbstractControl { * * ### Adding or removing controls from a form array * - * To change the controls in the array, use the `push`, `insert`, or `removeAt` methods + * To change the controls in the array, use the `push`, `insert`, `removeAt` or `clear` methods * in `FormArray` itself. These methods ensure the controls are properly tracked in the * form's hierarchy. Do not modify the array of `AbstractControl`s used to instantiate * the `FormArray` directly, as that result in strange and unexpected behavior such