angular.io icon indicating copy to clipboard operation
angular.io copied to clipboard

Correct typo in Reactive Forms page

Open AlexanderLukin opened this issue 8 years ago • 3 comments

In "Create a reactive forms component" chapter, after the phrase

Next, create an exported HeroDetailComponent class with a FormControl.

follows the example with HeroDetailComponent1 class. HeroDetailComponent1 should be HeroDetailComponent.

AlexanderLukin avatar Feb 19 '17 13:02 AlexanderLukin

There are many cases in there. Can you take a look @kapunahelewong ?

Foxandxss avatar Feb 20 '17 10:02 Foxandxss

A Similar typo can be found after the phrase

In the class, wrap the FormControl in a FormGroup called heroForm as follows:

the example uses HeroDetailComponent2 instead of HeroDetailComponent.

jorroll avatar Jun 09 '17 20:06 jorroll

Hi @thefliik thanks for the heads up. The numbers are there intentionally as they are part of the live example that contains all the demos, so as you work through each step, the demo has the relevant code in component 1, 2, 3, etc. Does that make sense? If not, let me know and I can explain in more detail.

kapunahelewong avatar Jun 12 '17 17:06 kapunahelewong