I tried to use this date range picker.
Default is 0 days, which means a client can select start and end days to be the same day. Can I somehow define to end the day can be a minimum of one day ahead, for example, client select start day as today and min end day mus be tomorrow or someday before tomorrow?
$('.input-daterange').daterangepicker({
minDate: moment().subtract(30, 'd').toDate(),
locale: {
format: 'MM.DD.YYYY.'
}
});
I tried to use startDate, EndDate, MindaDate... but nothing helps :(
Currently, You can't. There are several issues on the github page referencing this: github issues
It is possible to fork the library and add this feature in yourself or add in an additional event which you can listen to.
The pull request here is adding this feature so you could use that.