The NG_VALUE_ACCESSOR token is used to provide the ________ for a custom form control.

  • control adapter
  • custom component
  • form control
  • value accessor
The NG_VALUE_ACCESSOR token in Angular is used to provide the value accessor for a custom form control. This token helps Angular identify and connect the value accessor (typically, a ControlValueAccessor implementation) with the custom form control, enabling two-way data binding and form control interaction.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *