Which method of the ControlValueAccessor interface is called when the form control value changes programmatically?

  • controlValueChanged()
  • setValue()
  • updateValue()
  • writeValue()
The method of the ControlValueAccessor interface that is called when the form control value changes programmatically is writeValue(). This method allows you to update the form control's value from your custom form control component. It plays a crucial role in synchronizing the value between the custom control and the form group.
Add your answer
Loading...

Leave a comment

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