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
When you delete character by character your string, the last character does not fire the "onChange" event. It's because of this line : "changed = val !== oldValue" in "callbacks" and because the variable "oldValue" is only updated on "blur" event. So when you don't leave the focus on the field, and you type something then you delete this, the last character deleted not fire the "onChange" event. I'm trying to find a fix and I will purpose it to you later.
The text was updated successfully, but these errors were encountered:
Something like this could solve the problem :
changed = val !== oldValue || val === oldValue === ''
if you considered that the old value is the original value of the field before you focus on the field.
When you delete character by character your string, the last character does not fire the "onChange" event. It's because of this line : "changed = val !== oldValue" in "callbacks" and because the variable "oldValue" is only updated on "blur" event. So when you don't leave the focus on the field, and you type something then you delete this, the last character deleted not fire the "onChange" event. I'm trying to find a fix and I will purpose it to you later.
The text was updated successfully, but these errors were encountered: