[Webkit-unassigned] [Bug 254109] New: HTML input textbox with type=number is not returning correct value when decimal is entered

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 18 00:18:56 PDT 2023


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

            Bug ID: 254109
           Summary: HTML input textbox with type=number is not returning
                    correct value when decimal is entered
           Product: WebKit
           Version: Safari 16
          Hardware: iPhone / iPad
                OS: iOS 16
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: UI Events
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: prakash.kumar.balu at citi.com

Created attachment 465489

  --> https://bugs.webkit.org/attachment.cgi?id=465489&action=review

Simple HTML page to demonstrate the issue. Please try enter number with decimal ex: 1.2 and see the value printed below

The value of textbox is returned as empty string when the user entered valid input with decimal point.

User entered "1" ==> Output "1"
User entered "1." ==> Output "" (This is wrong. It should have returned "1")
User entered "1.2" ==> Output "1.2"

Attached a simple HTML page. Please try entering "1.2" and see the value printed below the textbox.

Same index.html we tried in IOS application which is compiled Xcode 14.1 having same issue. Same app with this index.html, if we compile in Xcode 13.0, this issue is not replicable.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230318/712b6f76/attachment.htm>


More information about the webkit-unassigned mailing list