What Is a Form Group

The FormGroup is a collection of Form controls It Tracks the value and validity state of a group of Form control instances. The FormGroup is one of the building blocks of the angular forms. The other two are FormControl and FormArray.

What is Form-Group name?

The FormGroupName is used to sync a nested FormGroup to a DOM element. Exported from: ReactiveFormsModule.

How do you use form groups?

To use a FormGroup , find the following steps. Step-1: Import ReactiveFormsModule from @angular/forms library in our application module and configure ReactiveFormsModule in imports metadata of @NgModule as following. ReactiveFormsModule enables using FormControl , FormGroup and FormArray in our application.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest