Bug 258027

Summary: <input type="number" /> input event emits empty string with decimal place
Product: WebKit Reporter: tom.hilton
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ahmad.saleem792, akeerthi, cdumez, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: All   
OS: All   

tom.hilton
Reported 2023-06-13 08:30:43 PDT
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
Attachments
Radar WebKit Bug Importer
Comment 1 2023-06-20 08:31:16 PDT
Ahmad Saleem
Comment 2 2023-09-02 02:51:14 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.