mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
3b8503f960
The `@param` JSDoc for `FormBuilder.group()` previously described the argument only as “a collection of child controls”, without explaining the four supported value shapes: * a raw value * a `FormControlState` * a `ControlConfig` tuple * a pre-built `AbstractControl` The fact that the second element of a `ControlConfig` tuple can accept `AbstractControlOptions` (for example to configure per-control `updateOn`) was especially non-obvious and undocumented. This change adds a `@usageNotes` section with concrete examples covering each supported shape. Closes #43984