NG.VI · Angular 22 practice question
When breaking a large reactive FormGroup into smaller nested sections, what are the two steps outlined for setting up the nested form?
Check answer and explanation
Correct answer: Create a nested group, then group the nested form in the template.
Explanation
Setting up a nested reactive form involves two steps: first creating a nested group in the model, and then grouping the nested form in the template.
Common trap
ControlValueAccessor and ngModel are not required for nested reactive FormGroup instances. Converting the root FormGroup into a FormArray is unnecessary for logically grouping named sections.
Source: Angular docs: Reactive forms — Creating nested form groups
Checked against the cited text on 2026-11-25.