Open zthomas1 opened 8 years ago
Just select a single day and click Apply.
datepickerOptions: { numberOfMonths: 1 }
it's work
{ applyButtonText:"", cancelButtonText:"", clearButtonText:"", presetRanges:{}, datepickerOptions: { onSelect: function(selectedDate) { $('ID').daterangepicker("setRange", {start: moment(selectedDate, "MM-DD-YYYY").toDate()}); $('ID').daterangepicker("close"); }} }
Besides, the preset items on the left, is there support for picking a single date within the date range picker? Yes, i know how that sounds... I would like to avoid using 2 different plugins for date/date range.
Thank you for your efforts.