powmedia / backbone-forms

Form framework for BackboneJS with nested forms, editable lists and validation
MIT License
2.17k stars 413 forks source link

HTML5 input type=numeric "change" event fix #256

Closed clearly closed 11 years ago

clearly commented 11 years ago

The editor correctly fires the "change" event if the user types characters in the field with the keyboard but if the user uses the up/down arrows to change the numeric value the "change" event would not fire. I know doubling up onKeyPress isn't ideal but it solves the problem.