From 36bc2ff26961ad4188b2885543be539f5c38ed9e Mon Sep 17 00:00:00 2001 From: Florian Kinder Date: Wed, 28 Sep 2016 22:59:08 +0200 Subject: [PATCH] docs(forms): Added FormControl initialization information (#11948) --- modules/@angular/forms/src/model.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/@angular/forms/src/model.ts b/modules/@angular/forms/src/model.ts index 26c9c69531..9a7f911d56 100644 --- a/modules/@angular/forms/src/model.ts +++ b/modules/@angular/forms/src/model.ts @@ -625,6 +625,8 @@ export abstract class AbstractControl { * * You can also initialize the control with a form state object on instantiation, * which includes both the value and whether or not the control is disabled. + * You can't use the value key without the disabled key; both are required + * to use this way of initialization. * * ```ts * const ctrl = new FormControl({value: 'n/a', disabled: true});