docs(forms): Fixed a typo in the reactive form (From 'address' to 'secretLairs') section (#23221)
PR Close #23221
This commit is contained in:
parent
56828e43b6
commit
94fbe3b5ac
|
@ -1068,7 +1068,7 @@ Replace the address `FormGroup` definition with a `secretLairs` `FormArray` def
|
||||||
|
|
||||||
</code-example>
|
</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">
|
<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">
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue