Many range date pickers on sites automatically set the toDate equal to the selected fromDate (or +1 day)
E.g. Lets say by default the calender dates are set to today. If the user selects the from date as November 1st, it should automatically set the to date to also be November 1st - however this doesn't seem to be supported or possible by this daterangepicker.
I've looked at the original Bootstrap Datepicker and there are no 'on date select' events so I can't provide the functionality myself. I've also tried adding my own .on jQuery listener, but after the first click it doesn't work - I assume it's just conflicting with the daterangepickers own .on function.
Can anyone advise how this can be done please? Or can this functionality be added please?
Hi,
Many range date pickers on sites automatically set the toDate equal to the selected fromDate (or +1 day) E.g. Lets say by default the calender dates are set to today. If the user selects the from date as November 1st, it should automatically set the to date to also be November 1st - however this doesn't seem to be supported or possible by this daterangepicker.
I've looked at the original Bootstrap Datepicker and there are no 'on date select' events so I can't provide the functionality myself. I've also tried adding my own .on jQuery listener, but after the first click it doesn't work - I assume it's just conflicting with the daterangepickers own .on function.
Can anyone advise how this can be done please? Or can this functionality be added please?
Thanks.