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

NEW
Unassigned

Status

()

Core
Layout: Form Controls
P5
normal
2 years ago
a year ago

People

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

Tracking

(Blocks: 1 bug)

53 Branch
Points:
---

Firefox Tracking Flags

(firefox53 affected)

Details

(Reporter)

Description

2 years ago
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: → bug 630495
No longer blocks: 1323674
Blocks: 1323674
No longer blocks: 1283381

Updated

a year ago
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
You need to log in before you can comment on or make changes to this bug.