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: |
Description
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:
http://www.wendenburg.de/test/datepicker/
regards, joachim
Note: See
TracTickets for help on using
tickets.
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.