daterangepicker
daterangepicker copied to clipboard
Once the component is initialized set startDate and endDate on the fly.
I couldn't find a way to set startDate and endDate once I created the date picker component on the DOM.
+1
Here's what worked for me:
$(".daterangepicker-field").data('daterangepicker').endDate(yourEndDate).applyChanges()