Skip to content

Framework7 Keypad events listener not working #27

Open
@Tarekajaj

Description

@Tarekajaj

I have a keypad

var keypad = app.keypad.create({
    inputEl: '#input',
    on: {
        change: function (keypad, value) {
            console.log(keypad, value);
        }
    }
});

change event is NOT called when value is changed (this is same for all other events like open close etc…)

Tried

keypad .on("change",  (keypad, value) {
        console.log(keypad, value);
})

i get Uncaught (in promise) Error: TypeError: Cannot read property 'change' of undefined

Any Ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions