Open Bug 1380285 Opened 7 years ago Updated 2 years ago

[DateTimePicker] The first error state appear only after click outside the input box

Categories

(Core :: Layout: Form Controls, defect, P3)

56 Branch
x86_64
All
defect

Tracking

()

Tracking Status
firefox57 --- fix-optional

People

(Reporter: roxana.leitan, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file Minmax.html
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
Build ID: 20170711030203

[Affected versions]:
Nightly 56.0a1

[Affected platforms]:
Windows 10 x 64, Mac OS X 10.12

[Steps to reproduce]:
1.Launch Nightly 56.0a1 with a new profile
2.Open the attached HTML
3.Type in the input box time values that are out of the preset range (e.g. 11:31 PM)
4.Change the time value to 11:31 AM

[Expected result]:
3.The input field should be highlighted with red colour, an error message pop-up should be displayed.
4.The error state should be deleted only after I click outside the input box. (like the one from step 3)

[Actual result]:
3.The input field is highlighted with red colour and the error message pop-up is displayed only after I click outside the input box.
4.The error state is deleted. No need to click outside the input box for confirmation.
more information here: input type = number has the same behavior. (won't be P1 for this is consistent across other types)
We also need to check HTML spec to see what the expected timing for validating to happen.
Priority: -- → P2
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → 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: