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

NEW
Unassigned

Status

()

Core
Layout: Form Controls
P2
normal
5 months ago
3 months ago

People

(Reporter: roxana.leitan@softvision.ro, Unassigned)

Tracking

(Blocks: 1 bug)

56 Branch
x86_64
All
Points:
---

Firefox Tracking Flags

(firefox57 fix-optional)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 months ago
Created attachment 8885665 [details]
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

Updated

3 months ago
status-firefox57: --- → fix-optional
You need to log in before you can comment on or make changes to this bug.