Opened 10 years ago
Last modified 9 years ago
#9165 open bug
Datepicker: showOn button loses disabled state after setting an option
Reported by: | deadsy | Owned by: | deadsy |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.datepicker | Version: | 1.10.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
After setting an option, Datepicker ignores "disabled" option for trigger button in _attachments() method. Button remains active. Solution:
var disabled = this._get(inst, "disabled"); $("<button type='button'></button>").prop("disabled", disabled)
Change History (4)
comment:1 Changed 10 years ago by
Owner: | set to deadsy |
---|---|
Status: | new → pending |
comment:3 Changed 10 years ago by
Status: | new → open |
---|---|
Summary: | Datepicker ignores "disabled" option in _attachments() for trigger button → Datepicker: showOn button loses disabled state after setting an option |
Note: See
TracTickets for help on using
tickets.
Hi deadsy,
Thanks for taking the time to contribute to the jQuery UI project. I'm not seeing the issue you're describing: http://jsfiddle.net/tj_vantoll/LJzW3/. Can you please alter my test case to show the issue you're experiencing?
Thanks.