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

Date jumps to next month after selecting new day more then once

Open DaanBaars opened this issue 6 years ago • 0 comments

With beneath setup the first day is selected after and date pick is limited to 1 day only selecting other months and years is disabled, after selecting a new day twice the month jumps to the next month and you can't go back as month change is disabled.

`$(function() { $( ".hredate" ).multiDatesPicker({ defaultDate: new Date(2019,01,01), dateFormat: 'dd-mm-yy', changeMonth: false, changeYear: false, stepMonths: false, beforeShowDay: $.datepicker.noWeekends,

	maxPicks: 1,					
});

});`

DaanBaars avatar Jan 19 '19 09:01 DaanBaars