docs(forms): fix reactive-forms guide typo

closes #17943
This commit is contained in:
ksvitkovsky 2017-08-13 16:12:08 +04:00 committed by Hans Larsen
parent 7662cefe6f
commit b2f4d53bf0
No known key found for this signature in database
GPG Key ID: 537DD9CDA3032687

View File

@ -1134,7 +1134,7 @@ The reactive forms approach both emphasizes and facilitates this distinction.
The default form displays a nameless hero with no addresses.
You need a method to populate (or repopulate) the _secretLairs_ with actual hero addresses whenever
the parent `HeroListComponent` sets the `HeroListComponent.hero` input property to a new `Hero`.
the parent `HeroListComponent` sets the `HeroDetailComponent.hero` input property to a new `Hero`.
The following `setAddresses` method replaces the _secretLairs_ `FormArray` with a new `FormArray`,
initialized by an array of hero address `FormGroups`.