docs(forms): Fixed a typo in the reactive form (From 'address' to 'secretLairs') section (#23221)

PR Close #23221
This commit is contained in:
Anuj 2018-04-06 13:34:09 +05:30 committed by Igor Minar
parent 56828e43b6
commit 94fbe3b5ac
1 changed files with 1 additions and 1 deletions

View File

@ -1068,7 +1068,7 @@ Replace the address `FormGroup` definition with a `secretLairs` `FormArray` def
</code-example>
In `hero-detail.component.html` change `formArrayName="address"` to `formArrayName="secretLairs"`.
In `hero-detail.component.html` change `formGroupName="address"` to `formArrayName="secretLairs"`.
<code-example path="reactive-forms/src/app/hero-detail/hero-detail-8.component.html" region="form-array-name" title="src/app/hero-detail/hero-detail.component.ts" linenums="false">