FormGroup
Introduction
Section titled “Introduction”FormGroup aggregates multiple FormControls into a single unit, enabling validation at the group level and nested form structures.
Example
Section titled “Example”this.profileForm = new FormGroup({ firstName: new FormControl(''), lastName: new FormControl(''), address: new FormGroup({ street: new FormControl(''), city: new FormControl('') })});Summary
Section titled “Summary”FormGroup organizes related controls and enables cross-field validation.”