RESOLVED DUPLICATE of bug 254077254109
HTML input textbox with type=number is not returning correct value when decimal is entered
https://bugs.webkit.org/show_bug.cgi?id=254109
Summary HTML input textbox with type=number is not returning correct value when decim...
Prakash Kumar
Reported 2023-03-18 00:18:56 PDT
Created attachment 465489 [details] 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.
Attachments
Simple HTML page to demonstrate the issue. Please try enter number with decimal ex: 1.2 and see the value printed below (427 bytes, text/html)
2023-03-18 00:18 PDT, Prakash Kumar
no flags
Alexey Proskuryakov
Comment 1 2023-03-19 21:33:20 PDT
*** This bug has been marked as a duplicate of bug 254077 ***
Note You need to log in before you can comment on or make changes to this bug.