Skip to main content

Form model: FormControl, FormGroup, FormArray, FormBuilder

Learn Form model: FormControl, FormGroup, FormArray, FormBuilder (Module 11 · Angular Forms, Angular) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

The three building blocks • FormControl = one input (a single cell). It holds the value and state. • FormGroup = a set of named controls (a form or a section). Its value is an object. • FormArray = an ordered list of controls or groups (rows). Its value is an array. • FormBuilder is a helper service with short methods group() , control() , array() so you write less code.

More lessons in Module 11 · Angular Forms