Skip to main content

Bug Tracker

Side navigation

#2859 closed bug (fixed)

Opened May 14, 2008 07:18AM UTC

Closed January 21, 2009 11:51PM UTC

Datepicker 3.4.3 'change' commits changes to all datepickers

Reported by: mnichols Owned by: kbwood
Priority: critical Milestone: 1.2.4
Component: ui Version: 1.2.3
Keywords: datepicker 3.4.3 change Cc:
Blocked by: Blocking:

When trying to use the 'change' function, the new settings are applied to all datepickers on page.

For example, with the code below, one would expect that only the input 'myrange' would be a ranged datepicker, but in fact it causes all pickers to become range-aware. If this is by design it should be made clearer.

To test:

<input type="text" class="date" id="plainoledate"/>

<script type="text/javascript">





<input type="text" class="date" id="myrange"/>

<script type="text/javascript">


$('#myrange').datepicker('change',{ rangeSelect: true});



Attachments (0)
Change History (2)

Changed June 19, 2008 10:44AM UTC by paul comment:1

owner: paulkbwood

Changed January 21, 2009 11:51PM UTC by kbwood comment:2

resolution: → fixed
status: newclosed

Fixed. Change should only affect the targetted controls.