#15966 closed defect (fixed)
TimePicker: should never show just up/down arrows and no times
Reported by: | Douglas Hays | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | undecided | Milestone: | 1.8.2 |
Component: | Dijit | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
When using TimeTextBox, if an invalid date is typed, the TimePicker just shows the up and down arrows and no items. This is less than helpful since the user doesn't understand the format.
Change History (5)
comment:1 Changed 8 years ago by
Owner: | changed from bill to Douglas Hays |
---|---|
Status: | new → assigned |
comment:2 Changed 8 years ago by
comment:3 Changed 8 years ago by
Milestone: | tbd → 1.8.2 |
---|
The opening of the dropdown is probably a tangent discussion. TimeTextBox has a search capability that DateTextBox does not (kind of like ComboBox) and thus this is why the dropdown always shows up.
Note: See
TracTickets for help on using
tickets.
Moreover there is also no easy way to keep a TimeTextBox from opening the drop down when typing, see TimeTextBox.js line 45 et seq. You need to create your own TimeTextBox by copying the whole code and fix the _onKey stuff (I could not find a way to solve that by inheritance).
In contrast a DateTextBox never opens when typing. In my last project I had to fix this issue so as to make DateTextBox and TimeTextBox behave the same way, i.e. not to open the drop down when clicking and typing.