Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#8214 closed bug (notabug)

Datepicker not opens to previous date if format is used without a day

Reported by: Boro Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.datepicker Version: 1.8.18
Keywords: Cc:
Blocked by: Blocking:

Description

For some reason the datepicker doesn't open to previously selected date if I use format that doesn't include day (e.g. 'MM yy'), as demonstrated here http://jsfiddle.net/nEGTv/2/

This is related to the question I raised on Stack Overflow http://stackoverflow.com/questions/9838473/jquery-ui-datepicker-not-opening-to-previously-selected-date-if-format-doesnt-i

Best Regards, Konrad Borowiecki

Change History (2)

comment:1 Changed 11 years ago by Scott González

Resolution: invalid
Status: newclosed

The datepicker is only designed to pick days, not months.

Related to #7759.

comment:2 Changed 11 years ago by Boro

I understand what you are trying to say though I disagree similarly to the person in the related ticket (#7759), that text field should only present it to user rater than being also data source.

BTW: if you call method getDate it returns correct values, so why it is not used instead when opening the datapicker dialog?

Last edited 11 years ago by Boro (previous) (diff)
Note: See TracTickets for help on using tickets.