Opened 6 years ago

Closed 6 years ago

Last modified 6 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 6 years ago by bill

  • Resolution set to fixed
  • Status changed from new to closed

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 6 years ago by bill

  • Description modified (diff)
  • Summary changed from DateTextBox: remove openOnClick option to DateTextBox/TimeTextBox: remove openOnClick option

comment:3 Changed 6 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.