Bug 193825 - inputmode="decimal" on iOS 12.2 doesn't have a button for negative
Summary: inputmode="decimal" on iOS 12.2 doesn't have a button for negative
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified iOS 12
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2019-01-25 08:02 PST by Dayton Lowell
Modified: 2023-09-12 15:37 PDT (History)
4 users (show)

See Also:


Attachments
screenshot (337.38 KB, image/jpeg)
2019-01-25 08:04 PST, Dayton Lowell
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dayton Lowell 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.
Comment 1 Dayton Lowell 2019-01-25 08:04:25 PST
Created attachment 360115 [details]
screenshot
Comment 2 Radar WebKit Bug Importer 2019-01-25 09:19:28 PST
<rdar://problem/47551201>
Comment 3 Wenson Hsieh 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 :(
Comment 4 Karl Dubost 2023-09-12 15:37:15 PDT
to test this on an iOS device.

data:text/html,<input type="number" inputmode="decimal">