Closed
Bug 1466793
Opened 6 years ago
Closed 6 years ago
Firefox allows you to write letters inside input type="number"
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1194812
People
(Reporter: zygimantas.baranauskas, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36 Steps to reproduce: Wrote some letters inside input type="number" Actual results: Firefox allowed me to do that and actual letters appeared inside the input. Expected results: Any browser shouldn't allow you to write any type of letters inside an input with type="number"
Comment 1•6 years ago
|
||
a possible workaround is <input type="number" (keypress)="checkIfNumber($event)"> .
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•