Skip to content

onChange is not fired when delete last characters #358

@wambaloo

Description

@wambaloo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions