Bug 258027
| Summary: | <input type="number" /> input event emits empty string with decimal place | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | tom.hilton |
| Component: | Forms | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/111042508>
Ahmad Saleem
*** This bug has been marked as a duplicate of bug 254077 ***