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

Autoselect Range is not working

Open bhargavg2009 opened this issue 11 years ago • 2 comments

Hi, I used below code but dates are not able to selected.

$('#simple-select-days-range').multiDatesPicker({ addDisabledDates: [1388620800000,1399507200000,1399680000000], dateFormat: 'yy-mm-dd', minDate: '2014-01-01', maxDate: '2014-10-31', mode: 'daysRange', autoselectRange: [0,2] });

The user can select adjacent dates only. If there is any next date is disabled, i have to display an error alert message to user. But i am not able to click on the dates. Any one has ideas how to do this?

bhargavg2009 avatar May 03 '14 08:05 bhargavg2009

I don't understand the problem :(

dubrox avatar Sep 22 '14 06:09 dubrox

i think it will work if you give the dateformat as dateFormat: 'mm-dd-yy',

dileepthomas avatar Jul 14 '16 12:07 dileepthomas