InputOtp: wrong usage of inputmode #5382
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Premise: I'm not a PrimeVue user, I'm developing InputOtp for the primefaces extensions project (primefaces-extensions/primefaces-extensions#1455 primefaces-extensions/primefaces-extensions#1453) and I'm trying to keep things aligned.
While checking PrimeVue implementation, I've seen that there's a wrong usage of the
inputmode
attributeReproducer
https://primevue.org/inputotp
PrimeVue version
3.49.1
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
Navigate to https://primevue.org/inputotp and go to the Integer Only section.
This is the rendered html:
Expected behavior
number
is not a valid value forinputmode
. It should benumeric
instead. See: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmodeThe text was updated successfully, but these errors were encountered: