Numeric Fields

Numeric inputs will only allow user to type numbers, completely ignoring all other characters. Full keyboard support is implemented. Try using up/down arrow keys, ctr + up/down (cmd + up/down on mac) to increase numbers. When the number is changed it will be validated and formatted (if needed).

Preview
Code

Options

You can provide various options for numeric fields as second argument. The structure of the options object is below:

User Comments

comments powered by Disqus