Shortest way to create Custom Control Accessor Component using DefaultValueAccessor in Angular

Luka Onikadze
3 min readApr 6, 2023

Frequently we need to create Custom Control Accessor Component. The standard path is to implement the ControlValueAccessor interface and add the Component in the NG_VALUE_ACCESSOR providers array. Unfortunately, this approach requires plenty of coding and knowledge that we often need to remember.
Fortunately, there is a shorter…

--

--