primevue icon indicating copy to clipboard operation
primevue copied to clipboard

InputNumber: No input of negative numbers possible on iPhones/IOS

Open stephanestermann opened this issue 3 months ago • 0 comments

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

  1. open on an iPhone the url "https://v3.primevue.org/inputnumber/"
  2. 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

stephanestermann avatar Oct 25 '24 05:10 stephanestermann