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   

Description tom.hilton 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
Comment 1 Radar WebKit Bug Importer 2023-06-20 08:31:16 PDT
<rdar://problem/111042508>
Comment 2 Ahmad Saleem 2023-09-02 02:51:14 PDT

*** This bug has been marked as a duplicate of bug 254077 ***