You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//Mousedown event on clear button$("span.k-clear-value").on("mousedown",function(e){//set timeout for timing purposessetTimeout(function(){//reference DateRangerPicker and trigger Change eventvardateRange=$("#daterangepicker").data("kendoDateRangePicker");dateRange.trigger("change");},200);});
Bug report
When clearing the contents of part of a Kendo UI DateRangePicker with a clear button, the change event does not trigger.
Reproduction of the problem
Expected/desired behavior
The Change event should fire when clear button is pressed.
Workaround
Subscribing to a mousedown event on the clear button, and manually triggering the change event. It will require a setTimeout due to timing purposes:
Environment
The text was updated successfully, but these errors were encountered: