Skip to content

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

@dioslaska

Description

@dioslaska

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');
    }
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions