Closed e2jk closed 9 years ago
Code example: http://requirebin.com/?gist=48b40ae2a4890005cd5f (requirebin makes you change any line to rebuild dom. strange) Fix with tests: https://github.com/AmpersandJS/ampersand-input-view/pull/53
Thanks for the catch @e2jk!
In a form view created by the CLI, I have added
type: 'number'
(ExtendedInput
is the same as from the demo app):The model's property is defined as such:
The form displays nice little up and down arrow, and using the keyboard arrows changes the values appropriately. Positive and negative values work fine, however when passing from -1 to 0, or from 1 to 0 the error message
This field is required.
is displayed.It should be possible to enter a number with a value of 0.