Closed
Bug 1838254
Opened 2 years ago
Closed 2 years ago
<input type="number" /> input event emits empty string with decimal place
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1836659
People
(Reporter: tom.hilton, Unassigned)
Details
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 input event emits empty string.
Expected results:
It should emit the number without the decimal place, for example if you type "12.", emit "12".
This used to be the behaviour on Firefox 112.
Reporter | ||
Comment 1•2 years ago
|
||
I should add that event.target.value is empty string
Updated•2 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1836659
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•