@@ -89,7 +89,7 @@ a#intro
8989 You don't push and pull data values. Angular handles that for you with `ngModel`.
9090 Angular updates the mutable _data model_ with user changes as they happen.
9191
92- When writing in a reactive style, you rarely, if ever, use two-way data binding.
92+ For this reason, the `ngModel` directive is not part of the ReactiveFormsModule.
9393
9494 These differences reflect two architectural paradigms,
9595 with their own strengths and weaknesses,
@@ -398,7 +398,8 @@ figure.image-display
398398
399399:marked
400400 ### More FormControls
401- A hero has more than a name. A hero has an address too. You already have address data
401+ A hero has more than a name. A hero has an address, a super
402+ power and sometimes a sidekick too. You already have address data
402403 in `data-model.ts`, so add it to the imports so you can use it:
403404
404405+ makeExample('reactive-forms/ts/app/hero-detail-4.component.ts' , 'imports' ,'app/hero-detail.component.ts (excerpt)' )( format ="." )
@@ -418,12 +419,24 @@ figure.image-display
418419
419420.alert.is-helpful
420421 :marked
421- *Reminder*: Ignore the many mentions of `form-group` and `form-control`in this markup.
422+ *Reminder*: Ignore the many mentions of `form-group`,
423+ `form-control`, and `checkbox` in this markup.
422424 Those are _bootstrap_ CSS classes that Angular itself ignores.
423425 Pay attention to the `formGroupName` and `formControlName` attributes.
424426 They are the Angular directives that bind the HTML controls to the
425427 Angular `FormGroup` and `FormControl` properties in the component class.
426428
429+ :marked
430+ These new `FormControls` include text inputs, a select for the state,
431+ radio buttons, and a checkbox. In the class
432+ they are instantiated in the same way and in the template,
433+ each one is tied to the form control tree by specifiying
434+ the `FormControl` name using the `formControlName` directive.
435+ For more information about radio buttons, selects, and checkboxes,
436+ see the API reference for [RadioControlValueAccessor](api/forms/index/RadioControlValueAccessor-directive.html),
437+ [SelectControlValueAccessor](api/forms/index/SelectControlValueAccessor-directive.html),
438+ and [CheckboxControlValueAccessor](api/forms/index/CheckboxControlValueAccessor-directive.html).
439+
427440.l-main-section
428441a#grouping
429442:marked
0 commit comments