Search and Top Navigation
#8277 closed bug (duplicate)
Opened April 25, 2012 03:53PM UTC
Closed July 17, 2012 12:18PM UTC
Last modified July 17, 2012 12:18PM UTC
DatePicker defaultDate not highlighted
Reported by: | chipmunk | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.datepicker | Version: | 1.8.19 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When specifying a default date, the popup calendar shows the correct calendar month, but does not highlight the default date. The default date only gets the hover state, which disappears as soon as you mouse over the calendar.
This contradicts the documentation for the defaultDate option, which says "Set the date to highlight on first opening if the field is blank."
This is the same issue as #5676. The fix for that caused #5984, so the fix was reverted, restoring the original bug.
Attachments (0)
Change History (5)
Changed April 25, 2012 04:45PM UTC by comment:1
Changed July 16, 2012 02:57PM UTC by comment:2
If we wanna add 'ui-state-active' class to a date configured as default, we should also set this value in the input field. It will be consistient across plugin. Maybe 'highlight' in this context means 'hover', but this should be corrected in docs.
Changed July 17, 2012 12:18PM UTC by comment:4
resolution: | → duplicate |
---|---|
status: | new → closed |
What is the correct behavior, so that the default date is properly highlighted?