# Automatic Correction

Starting with Telerik UI for ASP.NET Core R3 2024, the DatePicker component provides a way to disable the built-in [`AutoAdjust`](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/datepickerbuilder#autoadjustsystemboolean) 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.

```Razor HtmlHelper
   @(Html.Kendo().DatePicker()
          .Name("datepicker")
          .DateInput()
          .AutoAdjust(false)
    )
```

```Razor TagHelper
    @addTagHelper *, Kendo.Mvc

    <kendo-datepicker name="datepicker" 
        auto-adjust="false" date-input="true">
    </kendo-datepicker>
```

## See Also

* [Using the API of the DatePicker (Demo)](https://demos.telerik.com/aspnet-core/datepicker/api)
