diff --git a/packages/forms/src/directives/reactive_directives/form_group_name.ts b/packages/forms/src/directives/reactive_directives/form_group_name.ts index c31089305f3..e744f985ffb 100644 --- a/packages/forms/src/directives/reactive_directives/form_group_name.ts +++ b/packages/forms/src/directives/reactive_directives/form_group_name.ts @@ -131,12 +131,12 @@ export const formArrayNameProvider: any = { * * Syncs a nested `FormArray` to a DOM element. * - * This directive is designed to be used with a parent `FormGroupDirective`/`FormGroupArray` (selector: + * This directive is designed to be used with a parent `FormGroupDirective`/`FormArrayDirective` (selector: * `[formGroup]`/`[formArray]`). * * It accepts the string name of the nested `FormArray` you want to link, and * will look for a `FormArray` registered with that name in the parent - * `FormGroup`/`FormArray` instance you passed into `FormGroupDirective`/`FormGroupArray`. + * `FormGroup`/`FormArray` instance you passed into `FormGroupDirective`/`FormArrayDirective`. * * @see [Reactive Forms Guide](guide/forms/reactive-forms) * @see {@link AbstractControl} diff --git a/packages/forms/src/directives/reactive_errors.ts b/packages/forms/src/directives/reactive_errors.ts index 8b2411d7967..51f6104f0b4 100644 --- a/packages/forms/src/directives/reactive_errors.ts +++ b/packages/forms/src/directives/reactive_errors.ts @@ -20,7 +20,7 @@ import { export function controlParentException(nameOrIndex: string | number | null): Error { return new RuntimeError( RuntimeErrorCode.FORM_CONTROL_NAME_MISSING_PARENT, - `formControlName must be used with a parent formGroup or formArray directive. You'll want to add a formGroup/formArray + `formControlName must be used with a parent formGroup or formArray directive. You'll want to add a formGroup/formArray directive and pass it an existing FormGroup/FormArray instance (you can create one in your class). ${describeFormControl(nameOrIndex)}