How to prevent dot (.
) in number input?
#946
Unanswered
jaymakes11
asked this question in
1. Help
Replies: 1 comment
-
Alpine doesn't check the <input @keydown="if ($event.keyCode === 190) console.log('pressed')"> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a number input that I was to only accept integers (no floats). Is there a recommended way of achieving this with Alpine?
These approaches do not work:
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions