Closed
Bug 1774184
Opened 3 years ago
Closed 3 years ago
input type=number allows letters
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1398528
People
(Reporter: gabriel_alves_44, Unassigned)
Details
Attachments
(1 file)
66.53 KB,
image/png
|
Details |
Steps to reproduce:
type letters in a <input type="number" />
Actual results:
input allows letters to be typed
Expected results:
the input should only accept numbers or separators
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout: Form Controls' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Component: Untriaged → Layout: Form Controls
Product: Firefox → Core
Comment 2•3 years ago
|
||
So this is a duplicate of bug 1398528.
As per bug 1398528 comment 3 - it's unfortunately not trivial to provide a correct behaviour, taking localization into account.
There is a JavaScript workaround as mentioned in bug 1398528 comment 26
Severity: -- → S3
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•