Skip to main content

Search and Top Navigation

#8159 open feature ()

Opened March 02, 2012 01:37PM UTC

Last modified March 05, 2019 05:18PM UTC

datepicker('setDate' null) should not set today active

Reported by: raphinesse Owned by:
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.8.18
Keywords: Cc:
Blocked by: Blocking:
Description

To overcome the issue that [[http://bugs.jqueryui.com/ticket/8099|today never appears as selected or hovered]] I reordered the rules for ui-state-active and ui-state-hover to be more important than ui-state-highlight. However this revealed that, as of now, it is not possible to have no active date in a Datepicker instance. Calling datepicker('setDate' null) sets today as active.

Attachments (0)
Change History (8)

Changed June 26, 2012 01:24AM UTC by scottgonzalez comment:1

type: enhancementfeature

Changed September 04, 2012 03:22PM UTC by Benjamin comment:2

Confirmed, datepicker('setDate', null) only resets the <input>, but leaves a date highlighted on the datepicker. That's definitely a problem when using an always-visible datepicker in a web application, without necessarily having a related <input>. There's currently no way to remove the selection.

Changed October 11, 2012 02:45PM UTC by scottgonzalez comment:3

milestone: 1.9.01.11.0

Changed October 19, 2012 09:03PM UTC by mikesherov comment:4

resolution: → duplicate
status: newclosed

Duplicate of #8009.

Changed October 19, 2012 09:04PM UTC by mikesherov comment:5

resolution: duplicate
status: closedreopened

Changed October 19, 2012 09:05PM UTC by mikesherov comment:6

status: reopenedopen

Changed June 24, 2014 11:52PM UTC by scottgonzalez comment:7

milestone: 1.11.0none

Changed March 05, 2019 05:18PM UTC by z1haze comment:8

so after 7 years we are nowhere with this?