Closed Bug 1770948 Opened 2 years ago Closed 2 years ago

Input field number let user to insert letters

Categories

(Core :: Layout: Form Controls, defect)

Firefox 100
defect

Tracking

()

RESOLVED DUPLICATE of bug 1398528

People

(Reporter: iznopste, Unassigned)

Details

Steps to reproduce:

If you use an input field type=number, firefox let the user insert non-number value

https://www.w3schools.com/tags/att_input_type_number.asp

Try yourself :-)

Actual results:

You can insert letters in input field of type number

Expected results:

You should be allowed to insert only number and .

You should be allowed to insert only number and .

(I mean DOT for decimal numbers)

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
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.