Am using Kendo datepicker Range for dates showing from date and to date in my application developing in AngularJs.
My requirement is once to date is selected , the from date has to show the dates after selected to-date as disabled . I am using k-max = "vm.maxDate" and dates after the to-date is not visible. Similarly for to-date , the dates prior to from-date is not visible where as it should be disabled as per my requirement .
<input kendo-date-picker k-max = "vm.maxDate" k-rebind = "vm.maxDate" id="fromdate" />
<input kendo-date-picker k-min = "vm.minDate" k-rebind = "vm.minDate" id="todate" />
While loading the page , we are setting the default values as :
vm.maxDate = new Date();
vm.minDate = new Date(2000, 0, 1, 0, 0, 0);
Please help me on this