Search and Top Navigation
#7122 closed bug (notabug)
Opened March 16, 2011 03:41PM UTC
Closed March 16, 2011 05:41PM UTC
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
Attachments (0)
Change History (1)
Changed March 16, 2011 05:41PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
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.