[Webkit-unassigned] [Bug 258027] New: <input type="number" /> input event emits empty string with decimal place
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 13 08:30:43 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=258027
Bug ID: 258027
Summary: <input type="number" /> input event emits empty string
with decimal place
Product: WebKit
Version: Safari 16
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Forms
Assignee: webkit-unassigned at lists.webkit.org
Reporter: tom.hilton at adalpha.io
CC: cdumez at apple.com, wenson_hsieh at apple.com
Steps to reproduce:
Have an <input type="number" /> and listen to the input event, start typing a number then add a decimal place.
Actual results:
The emitted input event event.target.value is an empty string.
Expected results:
event.target.value should be the number without the decimal place, for example if you type "12.", emit "12". It used to do this in Safari v15.6
--
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/20230613/1859c07b/attachment.htm>
More information about the webkit-unassigned
mailing list