Issue
I am a bit new to Angularjs. In Chrome, for number type input fields, pressing on up and down key arrow increases/decreases the entered value. It needs to be disabled. Any ideas or help in how it can be done?
I tried using jQuery: $(":input").bind('keyup mouseup', function ()
but the ng-model binding is not updating. Might be because the angular js doesn't recognize the change made with jQuery.
Solution
Model won't change inside jquery event.Use ng-keypress event in angularjs
Answered By - Sunil
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.