Multiple-Dates-Picker-for-jQuery-UI icon indicating copy to clipboard operation
Multiple-Dates-Picker-for-jQuery-UI copied to clipboard

Automatic Dates are selecting

Open anandpandey0761 opened this issue 8 years ago • 1 comments

I am calling multidatepicker at time of when i am selecting drop down foreach drop down datepicker will load like suppose i select 1 date picker will load and give me calendar suppose 2 again it will load and give the calendar so the issue is when the calendar is loading second time it is automatically selecting today date. jQuery('#calender').multiDatesPicker({ altField: '#altField' }); datepicker1 datepicker2

Please reply as soon as possible

Thanks & Regards Anand Pandey

anandpandey0761 avatar Dec 31 '16 07:12 anandpandey0761

Found a solution, when I init, and re-init the calendar, I remove the today selection, and then only, add dates

$("#dates").multiDatesPicker('removeIndexes', 0); // removes today automatic selection
$("#dates").multiDatesPicker('addDates', dates);

MisterDuval avatar Jun 01 '18 15:06 MisterDuval