Can anyone recommend a date picker that only shows the current week and allows for multiple date selections by the user?
I found this jsfiddle which limits the display to the current week, but it doesn't support selecting multiple dates.
I attempted to use the multidate:true option, but it wasn't successful. Is there another way to achieve this functionality, or is it simply not possible? I need to make a decision soon.
I've been working on this for a week now without any luck.
Here's the JavaScript code I've tried:
$(function () { $('.pickWeek').datetimepicker({
multidate:true,
locale: 'pt-br',
format: "DD/MM/YYYY",
sideBySide: true,
daysOfWeekDisabled: [0] });
$('.pickWeek').data("DateTimePicker").minDate(moment().startOf('week'));
$('.pickWeek').data("DateTimePicker").maxDate(moment().endOf('week')); });