FormControl

FormControl

Stable Class

What it does

Tracks the value and validation status of an individual form control.

It is one of the three fundamental building blocks of Angular forms, along with FormGroup and FormArray.

How to use

When instantiating a FormControl, you can pass in an initial value as the first argument. Example:

const ct