Unplanned
Last Updated: 16 Apr 2020 06:27 by ADMIN
Ben
Created on: 03 Sep 2019 10:44
Category: DropDownList
Type: Feature Request
12
Filter/Search/Look-ahead

Hi,

Is it possible to implement search/look-ahead in the current version of the DropDown component? If not, will you be adding this feature soon?

Thank you.

Ben

2 comments
ADMIN
Marin Bratanov
Posted on: 16 Apr 2020 06:27

We've had a combo box with filtering (including custom server filtering) for a while, and that can be an alternative: https://demos.telerik.com/blazor-ui/combobox/filtering

The AutoComplete component is also available: https://demos.telerik.com/blazor-ui/autocomplete/filtering

 

Regards,
Marin Bratanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
ADMIN
Marin Bratanov
Posted on: 03 Sep 2019 14:13

Hello Ben,

I moved this to the feedback portal so you can Follow its status in the following link (your vote is already in): https://feedback.telerik.com/blazor/1427877-filter-search-look-ahead.

Perhaps you could use an ItemTemplate and add a textbox in the first item where you could filter the data yourself, but I have not tested that and I am not sure how it would behave. Altering the data source may repaint the component and close the dropdown, so you may need to hook to some event or button there instead of using direct binding.

You may also want to vote and Follow the request for an AutoComplete component (https://feedback.telerik.com/blazor/1413657-autocomplete-component) as it will likely have a different UX - the dropdownlist would probably need you to expand it and focus a filter box in the dropdown, while the autocomplete would likely be a writeable input that shows a dropdown when you start typing.

At the moment, there is no easy way to implement this. Perhaps the closest I can offer is a grid with enabled filter row. Try typing in a sting column filter to see whether a single-column grid will suit your UX needs: https://demos.telerik.com/blazor-ui/grid/filter-row. If yes, you can then use single row selection to get the user choice: https://docs.telerik.com/blazor-ui/components/grid/selection/single.


Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor