enforceMinLength Boolean (default: false)

If set to true the widget will not show all items when the text of the search input cleared. By default the widget shows all items when the text of the search input is cleared. Works in conjunction with minLength.

Example - enforce minLength

<input id="autocomplete" />
<script>
$("#autocomplete").kendoAutoComplete({
    dataTextField: "ProductName",
    filter: "contains",
    minLength: 3,
    enforceMinLength: true,
    autoBind: false,
    dataSource: {
        type: "odata",
        serverFiltering: true,
        transport: {
            read: "//demos.telerik.com/kendo-ui/service/Northwind.svc/Products"
        }
    }
});
</script>
In this article
Not finding the help you need?