Automatic Correction
Starting with Telerik UI for ASP.NET Core R3 2024, the DateInput 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().DateInput()
.Name("dateinput")
.AutoAdjust(false)
)
@addTagHelper *, Kendo.Mvc
<kendo-dateinput name="dateinput"
auto-adjust="false">
</kendo-dateinput>