FormControlDirective

FormControlDirective

Stable Directive

What it does

Syncs a standalone FormControl instance to a form control element.

In other words, this directive ensures that any values written to the FormControl instance programmatically will be written to the DOM element (model -> view). Conversely, any values written to the DOM element through user input will be reflected in the FormControl instance (view -> model).