It seems that I can listen to changes on the control using registerOnChange
or valueChanges
method. I'm confused as to when to use what. valueChanges
returns observable, so it makes sense to work with it as it provides many handy methods. When to use registerOnChange
then?
registerOnChange
is mostly for internal use (AFAIR used by CONTROL_VALUE_ACCESSOR
and only allows a single subscriber) - therefore definitely use valueChanges
instead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With