#6195 closed bug (worksforme)
defaultdate doesn't work when set after initial setup for divs.
Reported by: | coke | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.datepicker | Version: | 1.8.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Given a datepicker call on an input, setting the default date works whether you set it in the the initial call to .datepicker() or after the fact with an 'option' call.
However, for a div, setting the default date only works when setting it during the .initial .datepicker({}) call. using the option call has no effect after creation.
See attached .html file that demonstrates the problem. Verified locally using the latest stable release of jquery UI, on IE8 and FF3.6.10
Attachments (1)
Change History (3)
Changed 12 years ago by
Attachment: | datepicker_bug.html added |
---|
comment:1 Changed 10 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
There's nothing for it to do in this case. The datepicker already has a date set because it's always visible. Therefore, changing the default won't do anything. If you want to change the date, then change the date, not the default.