concept ControlValueAccessor in category angular
appears as: ControlValueAccessor

This is an excerpt from Manning's book Angular in Action.
Regardless of whether you use reactive or template-driven forms, there has to be some logic to write up the native HTML element (or custom component) with the forms library. There are essentially two places to track the current value of a form control: in the form and the control. Angular provides the
ControlValueAccessorinterface as a way to implement a custom control that works with forms, which we’ll use in conjunction with the Angular Material library components to create our own custom control.