bootstrap datepicker remove selected date code example
Example: bootstrap daterangepicker remove default date
$('.date_range_picker').daterangepicker({
autoUpdateInput: false,
locale: {
format: 'DD/MM/YYYY',
cancelLabel: 'Clear'
}
});
$('.date_range_picker').on('apply.daterangepicker', function(ev, picker) {
$(this).val(picker.startDate.format('MM/DD/YYYY') + ' - ' + picker.endDate.format('MM/DD/YYYY'));
});