Closed GoogleCodeExporter closed 8 years ago
I just want to voice my support for a fix for this issue. From the example
given you can see that the unselect event is fired but the date is not removed
from the selected dates array/object. This makes it difficult to work around
this issue.
Original comment by dylan.sp...@gmail.com
on 9 Dec 2010 at 5:04
The plugin doesn't natively support multi-select when added to an input.
However, you can easily implement this yourself. Take the example linked to
above and change the dpClosed to something like this:
function(e, selectedDates)
{
var dateStrings = [];
$.each(
selectedDates,
function(i, val)
{
dateStrings.push(val.asString();
}
);
$('#id-of-your-input').value(dateStrings.join(','));
}
Hope it helps,
Kelvin :)
Original comment by kelvin.l...@gmail.com
on 9 Dec 2010 at 5:13
Got it. Thanks!
Original comment by dylan.sp...@gmail.com
on 16 Dec 2010 at 5:01
Original comment by kelvin.l...@gmail.com
on 14 Apr 2011 at 7:42
Original issue reported on code.google.com by
ryan%mam...@gtempaccount.com
on 21 Oct 2010 at 6:08