Open Bug 1582622 Opened 5 years ago Updated 2 years ago

Number input cannot correctly valid number

Categories

(Core :: DOM: Core & HTML, defect, P3)

69 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: lijianxin1202, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file Demo

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36

Steps to reproduce:

  1. A number input has a float point default value 1.1.
  2. Change the value to a integer 4.
  3. Submit.
    If change to a integer, and then change to another integer again, the valid will become success.

Actual results:

Valid failed, below input shows a tooltip: Please select a valid value. The two nearest valid values are 4 and 5.

Expected results:

Valid success.

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
Blocks: number-input
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: