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

Numpad: change is not fired on the input in inline mode #384

Closed
dioslaska opened this Issue Jul 7, 2016 · 2 comments

Comments

Projects
None yet
1 participant
@dioslaska
Copy link
Contributor

dioslaska commented Jul 7, 2016

If the numpad is displayed in inline mode, the change event is not triggered on the input when the value is filled in. As a consequence, if using MVVM integrations (Angular, Knockout, etc.), the model value is not updated. (versions 2.x and 3.x).

Possible workaround:

var settings = {
    display: 'inline',
    preset: 'decimal',
    onFill: function (ev, inst) {
        inst._preventChange = true;
        $(this).trigger('change');
    }
};
@dioslaska

This comment has been minimized.

Copy link
Contributor

dioslaska commented Jul 15, 2016

Fixed in 3.0.0-beta3

@dioslaska

This comment has been minimized.

Copy link
Contributor

dioslaska commented Dec 19, 2016

Fixed in 2.17.3 as well

@dioslaska dioslaska closed this Dec 19, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment