Skip to main content

Search and Top Navigation

#6850 closed enhancement (fixed)

Opened January 13, 2011 11:11AM UTC

Closed May 11, 2011 07:32PM UTC

Last modified May 11, 2011 07:33PM UTC

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.

Attachments (0)
Change History (4)

Changed May 06, 2011 07:59PM UTC by kzys comment:1

Changed May 11, 2011 07:32PM UTC by Scott González comment:2

resolution: → fixed
status: newclosed

Merge pull request #220 from kzys/trac-6850

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

Changeset: caca915888133f70ad9ab13a3b84f9d95b07fcb9

Changed May 11, 2011 07:33PM UTC by Kato Kazuyoshi comment:3

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

Changed May 11, 2011 07:33PM UTC by scottgonzalez comment:4

milestone: 1.91.8.13