Opened 12 years ago

Closed 12 years ago

#7122 closed bug (notabug)

datepicker repl. input's value using altField

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


jquery 1.5.1 ui.core/datepicker 1.8.10

Using the altField parameter datepicker replaces the input's value with the current date instead of displaying the input's date. Same behaviour i found in datepicker 1.7, but setting the altField option _after_ initializing (input's value was not modified then) and using setDate did help.

Here you can find an example:

regards, joachim

Change History (1)

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

Resolution: invalid
Status: newclosed

This doesn't seem like a valid use case. The alt field isn't the master; the datepicker is. In your example, you're not actually telling the datepicker what date is selected so it's selecting the first valid date.

Note: See TracTickets for help on using tickets.