Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#6850 closed enhancement (fixed)

Disable datepicker should disable month and year dropdowns

Reported by: jorrit Owned by:
Priority: minor Milestone: 1.8.13
Component: ui.datepicker Version: 1.8.7
Keywords: Cc:
Blocked by: Blocking:

Description

After a datepicker is disabled using .datepicker('disable'), it is still possible to open and change the drop downs. I think the goal of the disable command is to prevent any interaction with the widget. If this is true, then the dropdowns should be disabled.

See http://jsfiddle.net/jorrit/8ggVr/ for an example. jsFiddle uses UI 1.8.5, but this issue also exists in 1.8.7.

Change History (4)

comment:2 Changed 12 years ago by Scott González

Resolution: fixed
Status: newclosed

Merge pull request #220 from kzys/trac-6850

Fixed #6850 - Disable datepicker should disable month and year dropdowns.

Changeset: caca915888133f70ad9ab13a3b84f9d95b07fcb9

comment:3 Changed 12 years ago by Kato Kazuyoshi

Datepicker: Disabled datepicker should disable own select element too. Fixed #6850 - Disable datepicker should disable month and year dropdowns. (cherry picked from commit 4585182c703ba93e0cbb059319862c53e177f836)

Changeset: 2b84107b3149631f6f09b69af9bc3a61be32b7c2

comment:4 Changed 12 years ago by Scott González

Milestone: 1.91.8.13
Note: See TracTickets for help on using tickets.