Ticket #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: | ||
| Blocking: | Blocked by: |
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
comment:2 Changed 2 years ago by Scott González
- Status changed from new to closed
- Resolution set to fixed
Merge pull request #220 from kzys/trac-6850
Fixed #6850 - Disable datepicker should disable month and year dropdowns.
Changeset: caca915888133f70ad9ab13a3b84f9d95b07fcb9
comment:3 Changed 2 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


https://github.com/jquery/jquery-ui/pull/220