We have an input type = "number"
and we have set an onChange
method.
The default value of the input is 0.
Then we change the value programatically to say, 10.
Now we change the value manually to 0 again.
The onChange
Method is not called on the manually made change. I think that's because the event wasn't called when we changed their value programmatically to 10. So in a way the control thinks that the value still is 0.
This happens only when I set manually the value to the value it was having BEFORE the programmatic change. If I use any other value to make the manual change, the onChange
event is triggered correctly.
t know if it
s going to bring me more problems. – Mila