angular/angular.js — Issue #641: input[type=number] doesn't update when up/down arrow is clicked
Author: IgorMinar
Created: 2011-11-07 17:22:12+00:00
State: open

html5 browsers render small up/down arrows for number input fields. if these arrows are used to update the input field, the view is updated immediately, but the change propagates to model only when the input field loses focus.

This is likely caused by us listening only on keydown and change events and something else is being fired by the browser when the small arrows are being used. In the worst case, we might need to listen on click and check if the view value changed and update the model immediately.