I am using this plugin for selecting date range, The configuration is my js is as follows:
// date range picker
$('.date_input').daterangepicker({
autoUpdateInput: false,
locale: {
cancelLabel: 'Clear',
format: 'DD-MM-YY'
}
});
I need to disable the future dates, i tried using maxDate, but it did not work. Please help me to resolve this issue.Help would be much appreciated Thanks!!