Opened 12 years ago

Closed 12 years ago

#6932 closed bug (worksforme)

Bug with Multiple instances of Daterange in same page

Reported by: write2nag Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.datepicker Version: 1.8.9
Keywords: Cc:
Blocked by: Blocking:


Hi, I have used the standard example of Daterange given in JQueryUI site. And i extended this to diplay two pairs of instances (from/to) in the same page. I have changed the attributes of lables and textboxes accrodingly (from1/to1, from2,to2). Even the javascript is duplicated accordingly to load the datepicker instances. Now when i select a fromdate in the first instance, the dates in todate instances are not getting disabled properly. But when i remove the html/javascript for 2nd pair of instance, this starts working normal. How can i repair the javascript to rectify this and support mutiple instances on the same page.

Please help.

Regards, Nagesh Y H

Change History (3)

comment:1 Changed 12 years ago by Scott González

Component: ui.coreui.datepicker
Status: newopen

comment:2 Changed 12 years ago by utkarsh

Can you provide a test case for your bug report? It seems to work for me just fine.

comment:3 Changed 12 years ago by Scott González

Resolution: worksforme
Status: openclosed

Works for me too:

I remember testing this before (when I changed the status), but I must've missed a reference or something.

Note: See TracTickets for help on using tickets.