New to Kendo UI for jQueryStart a free 30-day trial

EnforceMinLength

configuration

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.

Default: false

<select id="multiselect"></select>
<script>
$("#multiselect").kendoMultiSelect({
    placeholder: "Select products...",
    dataTextField: "ProductName",
    dataValueField: "ProductID",
    autoBind: false,
    minLength: 3,
    enforceMinLength: true,
    dataSource: {
        type: "odata-v4",
        serverFiltering: true,
        transport: {
            read: {
                url: "https://demos.telerik.com/service/v2/odata/Products",
            }
        }
    },
    value: [
        { ProductName: "Chang", ProductID: 2 },
        { ProductName: "Uncle Bob's Organic Dried Pears", ProductID: 7 }
    ]
});
</script>
Not finding the help you need?
Contact Support