Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix onChange not firing when typing previous value #656

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 15, 2018

  1. Fix onChange not firing when typing previous value

    The current implementation is not firing the onChange callback passed in
    the options.
    
    This happens because the oldValue variable is updated only on blur. With
    this changes, two variables are used. One controls the value that the
    element had when it got focus, and the other one is changed immediately
    after every change.
    thiagorb committed Apr 15, 2018
    Configuration menu
    Copy the full SHA
    f716683 View commit details
    Browse the repository at this point in the history