docs: more form overview edits (#25663)

PR Close #25663
This commit is contained in:
Brandon Roberts 2018-09-05 08:57:33 -05:00 committed by Kara Erickson
parent e08955b557
commit ebd01e8e79
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ Both reactive and template-driven forms share underlying building blocks, the `F
## Control value accessors
Control value accessors define a bridge between Angular forms and native DOM elements. The `ControlValueAccessor` interface defines methods for interacting with native elements including: reading from and writing values to them, disabling or enabling their elements, and providing callback functions for when the control's value changes in the UI or becomes touched. A built-in accessor is attached to every form field when using either forms modules in Angular, unless a custom value accessor has been activated on that field.
Control value accessors define a bridge between Angular forms and native DOM elements. The `ControlValueAccessor` interface defines methods for interacting with native elements including: reading from and writing values to them, disabling or enabling their elements, and providing callback functions for when the control's value changes in the UI or becomes touched. A built-in accessor is attached to every form field when using either forms module in Angular, unless a custom value accessor has been activated on that field.
## Data flow in forms

View File

@ -17,8 +17,8 @@ You can build forms in one of two ways:
* *Reactive forms* use existing instances of a `FormControl` or `FormGroup` to build a form model. This form
model is synced with form input elements through directives to track and communicate changes back to the form model. Changes
to the value and status of the controls are provided as observables.
* *Template-driven* use directives such as `NgModel` and `NgModelGroup` that provide two-way data binding to
track changes within the template using the change detection cycle.
* *Template-driven forms* rely on directives such as `NgModel` and `NgModelGroup` create the form model for you,
so any changes to the form are communicated through the template.
@see Find out more in the [Forms Overview](guide/forms-overview).