NEW 193825
inputmode="decimal" on iOS 12.2 doesn't have a button for negative
https://bugs.webkit.org/show_bug.cgi?id=193825
Summary inputmode="decimal" on iOS 12.2 doesn't have a button for negative
Dayton Lowell
Reported 2019-01-25 08:02:56 PST
iOS 12.2 added support for the decimal keyboard using the inputmode spec but the decimal keyboard has no way to enter a - for a negative decimal value.
Attachments
screenshot (337.38 KB, image/jpeg)
2019-01-25 08:04 PST, Dayton Lowell
no flags
Dayton Lowell
Comment 1 2019-01-25 08:04:25 PST
Created attachment 360115 [details] screenshot
Radar WebKit Bug Importer
Comment 2 2019-01-25 09:19:28 PST
Wenson Hsieh
Comment 3 2019-01-25 09:24:06 PST
Unfortunately, it doesn't look like UIKit supports a number pad UIKeyboardType with a minus key (hyphen)... https://developer.apple.com/documentation/uikit/uikeyboardtype/uikeyboardtypenumbersandpunctuation?language=objc contains all the relevant keys, but it isn't a number pad :(
Karl Dubost
Comment 4 2023-09-12 15:37:15 PDT
to test this on an iOS device. data:text/html,<input type="number" inputmode="decimal">
Note You need to log in before you can comment on or make changes to this bug.