Numeric Fields

Numeric inputs will only allow you to type numbers. They will completely ignore all other characters. Full keyboard support is implemented. Try using up/down arrow keys, ctr + up/down (command + 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