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

preventing current date from being automatically selected

Open dar1 opened this issue 9 years ago • 0 comments

Hi, Struggling to find a way to prevent the current date from being an automatic selection, which also appears by default in the array from getDates (in my case I only want dates that the user manually selects). I've tried defaultDate and setDate with null but nothing seems to simply prevent this automatic behavior. My current solution is to use MDP's removeDates method by feeding it the current date -- this is a clunky solution as it needs to be reapplied, apparently, before every time I access the selected dates array, because every operation/render seems to re-select the current date automatically.

dar1 avatar May 18 '16 23:05 dar1