Filtering

The AutoComplete enables you to display only those suggestion list items which meet specified criteria.

Basic Configuration

On every user modification of the input value, the AutoComplete triggers an onChange event. The event argument contains the typed string value that you can use to filter the source.

Example
View Source
Edit In Stackblitz  
Change Theme:

To filter the data after a delay, use a similar implementation. You can toggle the loading property and provide the user with a visual indication of the filtering process.

Example
View Source
Edit In Stackblitz  
Change Theme:

Minimum Filter Length

The following example demonstrates how to update the data and open the drop-down list of the AutoComplete only after typing a minimum number of characters.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?