Reworded 'own controls' description for better clarity
parent
a036ca0a93
commit
81723b29da
|
@ -16,7 +16,7 @@ The [Base Line](apps/baseline) application implements the contact manangement fo
|
||||||
|
|
||||||
## Components Creating Own Form Controls
|
## Components Creating Own Form Controls
|
||||||
|
|
||||||
When searching the Internet for examples of nested forms in Angular, one popular approach is to have each sub-component be responsible for creating its own form controls. The parent form is passed in as an `@Input`, and the component adds its components to the form using the `addControl(name, control)` method.
|
Searching the Internet for examples of nested forms in Angular shows one popular approach is to have each sub-component be responsible for creating its own form controls. The parent form is passed in as an `@Input`, and the component adds its components to the form using the `addControl(name, control)` method.
|
||||||
|
|
||||||
The [Parent Form](apps/parent-form) application explores this approach.
|
The [Parent Form](apps/parent-form) application explores this approach.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue