Automatic Correction
Starting with Telerik UI for ASP.NET Core R3 2024, the DatePicker component provides a way to disable the built-in AutoAdjust
feature.
By default, when you have Min
and Max
values configured, the component will auto-correct the user input if it is not in the min/max range. The auto-corrected value will be either the Min
or the Max
value you have set for the component.
@(Html.Kendo().DatePicker()
.Name("datepicker")
.DateInput()
.AutoAdjust(false)
)
@addTagHelper *, Kendo.Mvc
<kendo-datepicker name="datepicker"
auto-adjust="false" date-input="true">
</kendo-datepicker>