-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
inputOTP - integerOnly doesn't work with number pad #5329
Comments
Solution here: #5358 |
@melloware How does the reviews work? I want to contribute :) |
@franmc01 its easy just submit a PR and PrimeTek will review it or reject it! |
Hmm, I'm trying just released 3.50 and it is even more broken somehow 🤔 |
The same issue is observed on iOS 17.4 |
There I sent the pr again, from my tests the problem is that event.keyCode is used in favor of event.key; From what I saw the first one is obsolete. I changed the implementation to event.key and it worked perfectly, I had even added the validation that when you copy a code it is also validated that it is numerical because in the current one it is either numerical or it does not let you copy any string |
Any update to this? It's not fixed, IntegerOnly still doesn't accept numbers in version 3.50. |
I sent this PR: #5424 |
No accepted :( |
Describe the bug
with integerOnly I cannot use numbers pad.
Reproducer
https://primevue.org/inputotp/#integeronly
PrimeVue version
3.49.0
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
Chrome 121, Windows 10
Steps to reproduce the behavior
https://primevue.org/inputotp/#integeronly
use keyboard top row with numbers - input works
use number pad (right side of keyboard) - input doesn't work
Expected behavior
numbers should work for both top row and number pad
The text was updated successfully, but these errors were encountered: