Open marcusorjames opened 6 years ago
I'm trying to debounce a number field but with the on change event it just doesn't work. You can get round this by using on mouseup, keyup, but then when you select what's in the input box it then triggers which I don't want.
Example of it not working here: https://jsfiddle.net/xpvt214o/320184/
When you keep clicking up for example it just submits after the first change and doesn't cancel each time you click
I'm trying to debounce a number field but with the on change event it just doesn't work. You can get round this by using on mouseup, keyup, but then when you select what's in the input box it then triggers which I don't want.
Example of it not working here: https://jsfiddle.net/xpvt214o/320184/
When you keep clicking up for example it just submits after the first change and doesn't cancel each time you click