minLength Number(default: 1)

The minimum number of characters the user must type before a search is performed. Set to a higher value if the search could match a lot of items.

Widget will initiate a request when input value is cleared. If you would like to prevent this behavior please check the filtering event for more details.

Example - set minLength

<input id="dropdowntree"/>

  dataSource: [{ text: "item1", value: 1 }, { text: "item2", value: 2 }],
  filter: "startswith",
  minLength: 3
In this article
Not finding the help you need? Improve this article