[Webkit-unassigned] [Bug 161506] New: input pattern="[0-9.]*" should use DecimalPad keyboard

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 1 13:29:29 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=161506

            Bug ID: 161506
           Summary: input pattern="[0-9.]*" should use DecimalPad keyboard
    Classification: Unclassified
           Product: WebKit
           Version: Safari 9
          Hardware: iOS
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dvpdiner2 at gmail.com

Currently <input type="number" pattern="[0-9]*"> pulls up a UIKeyboardTypeNumberPad, which does not allow decimals. The alternative is to not specify a pattern and get the general numbers & punctuation keyboard.

It would be great to add support for pattern="[0-9.]*" to bring up a UIKeyboardTypeDecimalPad which includes a decimal key.


Unfortunately there isn't numeric-oriented keyboard that includes both a decimal and a negative sign, so we're stuck with UIKeyboardTypeNumbersAndPunctuation :(

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160901/fe20659e/attachment.html>


More information about the webkit-unassigned mailing list