You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that after updating to v7.0.0 (from 6.2.0) the onChange event is not triggered when the input is cleared (null) while maintaining focus. After losing focus (onBlur) the value is automatically changed to 0 and then the onChange is triggered with value 0.
I saw a PR regarding this (#296) but I couldn't understand much. So I don't know if this is a feature or a bug.
If it is a feature is it possible to add a property like allowEmpty or should we use the onInput handler to capture the null value?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
I've noticed that after updating to
v7.0.0
(from 6.2.0) theonChange
event is not triggered when the input is cleared (null
) while maintaining focus. After losing focus (onBlur) the value is automatically changed to 0 and then the onChange is triggered with value 0.I saw a PR regarding this (#296) but I couldn't understand much. So I don't know if this is a feature or a bug.
If it is a feature is it possible to add a property like
allowEmpty
or should we use theonInput
handler to capture thenull
value?Thanks in advance!
The text was updated successfully, but these errors were encountered: