Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#14142 closed task (fixed)

DateTextBox/TimeTextBox: remove openOnClick option

Reported by: bill Owned by: bill
Priority: high Milestone: 1.8
Component: Dijit - Form Version: 1.6.1
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

Seems like the openOnClick option for DateTextBox and TimeTextBox is redundant, so consider removing it.

If hasDownArrow is false then clicking the <input> opens the drop down, regardless of the openOnClick setting. And if hasDownArrow is true, then clicking the <input> shouldn't open the drop down.

Change History (3)

comment:1 Changed 11 years ago by bill

Resolution: fixed
Status: newclosed

In [26942]:

Remove openOnClick option from DateTextBox/TimeTextBox. Clicking on the <input> will no longer automatically show the Calendar/TimePicker drop down, unless hasDownArrow=false. This brings the behavior in line with other widgets like ComboBox.

Fixes #14142 !strict.

comment:2 Changed 11 years ago by bill

Description: modified (diff)
Summary: DateTextBox: remove openOnClick optionDateTextBox/TimeTextBox: remove openOnClick option

comment:3 Changed 11 years ago by bill

In [26950]:

Update test to click down arrow to open DateTextBox dropdown, refs #14142.

Note: See TracTickets for help on using tickets.