Help with preventing non numeric keys

i’m trying to prevent alpha keys from being accepted on a ui.text field. I don’t want to do this on a focus change rather i would to deny any alpha keys from appearing in text field when user enters them.

Can you help me?

Hello,

You can use a custom validation function. Check the next snippet:
http://webix.com/snippet/0f24c5dd

Also, you can try to use the native HTML5 number input
http://webix.com/snippet/9207b3cd
https://snippet.webix.com/2a0sgie5