-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
input[type=number] on(change) not executing publish event #381
Comments
As you can see in this fiddle, that is a problem with the Also, your adapter needs to overwrite the build in I changed your adapter appropriately. I also moved your backbone model properties into the A couple ways to get around this issue with the input:
$('input').on('keypress paste textInput input', function () {
$(this).trigger('change');
}); |
Thank you @Duder-onomy 👍 |
If that solution works, this issue should be closed! |
I have a input[type=number], and when I type non-numeric number it doesn't cause change event for some reason and so the publish doesn't get called either, is there any way to get around this.
I have this JSFiddle[http://jsfiddle.net/itcutives/mavu1jar/4/] but i am not sure if what I have is correct, but adapter events not printing anything in console so I think they are not even executing.
The text was updated successfully, but these errors were encountered: