# MultiSelect Filter

The MultiSelect component can filter the available suggestions according to the current user input, so they can find the one they need faster. To see the difference in behavior, visit the [Live Demo: MultiSelect Filtering](https://demos.telerik.com/blazor-ui/multiselect/filtering) page.

To enable filtering, set the `Filterable` parameter to `true`. The filtering is case insensitive.

You can also use the [`OnRead` event](https://www.telerik.com/blazor-ui/documentation/components/multiselect/events#onread) to:

* Get the [applied filtering criteria](https://www.telerik.com/blazor-ui/documentation/common-features/data-binding/descriptors#through-the-onread-event).
* Implement custom (server) filtering and set data dynamically.

Filtering looks in the `TextField`, and the filter is reset when the dropdown closes.

## Filter Operator

The default filter operator is `starts with`. You can choose a different operator through the `FilterOperator` parameter that takes a member of the `Telerik.Blazor.StringFilterOperator` enum.

## Minimum Length

To control when the filter list appears, set the `MinLength` parameter. This can be useful if you have a very large list of data or a lot of similar items.

## Performance

By default, the filtering is debounced with 150ms. Configure that with the [`DebounceDelay`](https://www.telerik.com/blazor-ui/documentation/components/multiselect/overview#parameters) parameter of the component.

## Persist Filter

By default, the filter value will be cleared when the user selects an item.

You can configure the MultiSelect to keep the filter value:

* When the user selects an item from the list.
* When the user closes the popup but keeps the focus on the MultiSelect (for example, presses [`Esc` to close the popup](https://demos.telerik.com/blazor-ui/multiselect/keyboard-navigation)).

This can be useful if you want to allow the user to select multiple values that match the same filtering criteria (for example, select several people with the same last name). Blurring the MultiSelect indicates that the user is done with the selection and the filter value will be cleared upon blur.

To keep the filter upon selection, set the `PersistFilterOnSelect` parameter to `true`. It only applies when `Filterable="true"` and `AutoClose="false"`.

## Filtering Example

> caption Filtering in the MultiSelect

<demo metaUrl="client/multiselect/filter/example-1/" height="570"></demo>

## See Also

* [Live Demo: MultiSelect Filtering](https://demos.telerik.com/blazor-ui/multiselect/filtering)

* [Custom Filtering by Multiple Fields](https://www.telerik.com/blazor-ui/documentation/knowledge-base/dropdowns-search-in-multiple-fields)
