# Automatic Correction

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

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

    <kendo-daterangepicker name="daterangepicker"
        auto-adjust="false">
    </kendo-daterangepicker>
```

## See Also

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