Allow only numbers in webix prompt

I have used webix prompt which should only accept numbers and if user type anything except number then webix prompt should fire the validations.

As i have checked webix prompt takes string as a parameter. i am not able to fix it. Can anyone pls help regarding the issue ?