primevue
primevue copied to clipboard
InputNumber: No input of negative numbers possible on iPhones/IOS
Describe the bug
IOS opens with inputmode=numeric or inputmode=decimal a keyboard without a negative character. That's why you can't enter negative numbers with iPhones.
A workarround could be to set inputmode=text for iOS???
Reproducer
https://v3.primevue.org/inputnumber/
PrimeVue version
3 + 4
Vue version
3.x
Language
ALL
Build / Runtime
Vite
Browser(s)
iOS
Steps to reproduce the behavior
- open on an iPhone the url "https://v3.primevue.org/inputnumber/"
- Try at "Integer Only" or "Without Grouping" to enter a negative number
Expected behavior
it's also possible to enter a negative number on iPhones