New to Kendo UI for jQuery? Download free 30-day trial

Automatic Correction

Starting with Kendo UI R3 2024, the DateTimePicker component provides an autoAdjust feature which provides control over the autocorrect functionality. By default, when you have min and max dates configured and the 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 date is closer to.

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

    <input id="datetimepicker" />

    <script>
      $(document).ready(function(){
        $("#datetimepicker").kendoDateTimePicker({
          min: new Date("01/01/2024"),
          max: new Date("12/31/2024"),
          dateInput:true,
          autoAdjust: false
        });
      });
    </script>

See Also

In this article