# Automatic Correction

Starting with Kendo UI R3 2024, the TimePicker component provides an [`autoAdjust`](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/timepicker/configuration/autoadjust) feature which provides control over the autocorrect functionality. By default, when you have the `min` and `max` time slots configured and the [`dateInput`](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/timepicker/configuration/dateinput) is set to `true`, the component will autocorrect the user input if it is not within the specified range. The autocorrected value will be either the `min` or the `max` value you have set for the component depending on which the invalid value is closer to.

In order to disable the autocorrect, you can now set the `autoAdjust` option to `false`.

```dojo
    <input id="timepicker" />

    <script>
      $(document).ready(function(){
        $("#timepicker").kendoTimePicker({
          min: new Date(2024, 0, 1, 8, 0, 0),
          max: new Date(2024, 0, 1, 22, 0, 0),
          dateInput: true,
          autoAdjust: false
        });
      });
    </script>
```

## See Also

* [Using the API of the TimePicker (Demo)](https://demos.telerik.com/kendo-ui/timepicker/api)
* [JavaScript API Reference of the TimePicker](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/timepicker)
