I’m working with the Kendo DateRange component and I need to disable future dates. I attempted to use [disabledDates]="dates"
, but this option is not available. How can I achieve this?
<kendo-daterange>
<div class="col col-6 custDatePickerWidth">
<label>Created Date From</label>
<kendo-dateinput name="SearchDatePickerCreatedDateFrom" kendoDateRangeStartInput
formControlName="createdDateFrom" [format]="'MM/dd/yyyy'" placeholder="mm/dd/yyyy" [max]="maxDate">
</kendo-dateinput>
</div>
<span class="line">-</span>
<div class="col col-6 custDatePickerWidth toDate">
<label>Created Date To</label>
<kendo-dateinput name="SearchDatePickerCreatedDateTo" kendoDateRangeEndInput formControlName="createdDateTo"
[format]="'MM/dd/yyyy'" placeholder="mm/dd/yyyy" [max]="maxDate">
</kendo-dateinput>
</div>
</kendo-daterange>