Open ffuubarbuzz opened 9 years ago
We'll give it some thought over the next few days.
+1
This feature will be implemented after the newly introduced Clear button can be placed separately, near the trigger button.
+1
+1 Though we would need the 'Apply' button for single date selection.
+1
+1
+1
A temporary quick and dirty fix. Add this somewhere in the onSelectDay() function:
if(range.start && range.end) {
$('.comiseo-daterangepicker-buttonpanel button:first-child').click();
}
then hide the Apply button via CSS.
It would be awesome to have such an option to auto-apply when user selects range manually. Also with this option enabled there is no need in drawing buttons 'Apply' and 'Cancel'.