#Keep focus on input
3 messages · Page 1 of 1 (latest)
3 messages · Page 1 of 1 (latest)
Hi, how can I keep focus on the custom number input, while clicking the increment button?
In the button click handler, have it call .focus() on the input.
I think an even better way could be to not let the focus change. I think this should be possible by "event.preventDefault()" maybe?