Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.33 KB

auto-adjust.md

File metadata and controls

32 lines (25 loc) · 1.33 KB
title page_title description slug position
Automatic Correction
jQuery NumericTextBox Documentation - Automatic Correction
Get familiar with the autocorrect feature of the jQuery NumericTextBox by Kendo UI, and learn how to disable it.
autocorrect_kendoui_numerictextbox
8

Automatic Correction

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

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

    <input id="numerictextbox" />

    <script>
      $(document).ready(function(){
        $("#numerictextbox").kendoNumericTextBox({
          min: 3,
          max: 10,
          autoAdjust: false
        });
      });
    </script>

See Also