Open Bug 1322147 Opened 8 years ago Updated 2 years ago

[DateTimePicker] No error message when click outside the input box

Categories

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

53 Branch
defect

Tracking

()

Tracking Status
firefox53 --- affected

People

(Reporter: roxana.leitan, Unassigned)

References

(Blocks 1 open bug)

Details

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0
Build ID: 20161204030210

[Affected versions]:
Nightly 53.0a1

[Affected platforms]:
All platforms: Windows 10 x 64,Ubuntu 15.04, Mac OS X 

[Steps to reproduce]:
1.Launch Nightly 53.0a1 with a new profile
2.Set "dom.forms.datetime" pref to True in about:config
3.In the URL bar enter "data:text/html, <input type="time" value="08:30" step="600" min="8:30" max="12:30">"
4.Enter by keyboard a value that is outside the preset step (e.g. 08:33)
5.Click outside the input box


[Expected result]:
The input box margins should be red and the error message "Please select a valid value.The two nearest valid values are 08:20 and 08:30." should be displayed as a bubble message with red text.

[Actual result]:
The input box margins are red but no error message is displayed.
This is the same behavior like for other input fields which get validated, e.g. opening
data:text/html, <input type="email">
and entering an invalid email address and clicking somewhere will not show the message.

At the moment, the error message is only visible as tooltip if the mouse gets moved over the input field.

See also bug 630495.
See Also: → 630495
Component: XUL Widgets → Layout: Form Controls
Product: Toolkit → Core
Per comment1, I was gonna INVALID this bug.
After second thought, let's keep it open as a P5 since the description is actually valid as enhancements.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.