New to Telerik UI for Blazor? Download Free 30-day trial

MultiSelect - Filtering

Configurator

Debounce Delay

Choose filter operator:
  • Filtering.razor
Loading the demo source code...please wait.

Style in ThemeBuilder

  • Custom SASS variables
  • Atomic customizations
  • Sharing projects
Start Theming

Description

The Telerik UI for Blazor MultiSelect component allows the user to select multiple values from a list of suggestions. In some scenarios, this list can be long and you might want to display only specific options to the user. The MultiSelect supports filtering functionality to cover such scenarios. This feature allows you to filter the available suggestions according to the current user input, so they can find the one they need faster.

By default, the MultiSelect filtering is disabled. You can enable the filtering by setting the Filterable parameter of the component to true. Additionally, the filtering functionality of the MultiSelect supports custom configurations. For example:

  • Set the desired filter operator – by default, the options will be filtered by filter operator StartsWith. You can configure that and choose another operator from the StringFilterOperator enum. Provide the desired option to the FilterOperator parameter of the Blazor MultiSelect.
  • Debounce the filtering – the component has a default debounce delay of 150ms. This will also debounce the filtering when enabled. It is possible to configure that through the DebounceDelay parameter of the Blazor MultiSelect.

This demo showcases several Blazor MultiSelect instances with various settings. It allows you to configure and test the filtering capabilities. Use the DropDownList in the Configurator section to alter the applied DebounceDelay value and explore the debouncing behavior. Choose a different filter operator from the dropdown to see how this affects the options displayed in the Blazor MultiSelect popup.

The component also provides a NoDataTemplate. Use it to customize the dropdown content when there are no items to display.

This MultiSelect Filtering example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.

Support & Learning Resources

An error has occurred. This application may no longer respond until reloaded.