Dear Kendo Support Team,
we are using Kendo UI in our ASP.NET MVC application. We want to remove the values from DateRangePicker. The dates are removed from inputs but the calendar keeps the previous value highlighted when we move back and forth between the months.
Example code: https://dojo.telerik.com/ATuyAWuF/3
Best regards,
Peter
Hi, Peter,
Thank you very much for the provided runnable Dojo that allowed us to observe the faulty behaviour you describe.
I converted this thread to a Public feedback item and you may track its process here:
Until the bug is fixed, you may use this workaround:
function myFunction() {
daterangepicker.range({ start:null, end: null});
if(daterangepicker.dateView.calendar){
daterangepicker.dateView.calendar._range.start = null;
daterangepicker.dateView.calendar._range.end = null;
}
}
As a token of appreciation for helping us improve, I have also updated your Telerik points.
Kind Regards,
Alex Hajigeorgieva
Progress Telerik