Framework7 Keypad events listener not working

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?