DropDown item selection by typing item value. Without filtering

We are moving to Radzen and would like to port our dropdowns with similar behaviour: if I type a letter in the dropdown, it should auto select the best match as I type. Is that possible? Without using a filter.

In the code below if I type 2, it should select the second item. This is how HTML select options behave.

<RadzenDropDown @bind-Value=@value Data=@items Name="DropDownBindValue" />

@code {
    int value = 1;
    IEnumerable<int> items;

    //string value = "1";
    //IEnumerable<string> items;

    protected override async Task OnInitializedAsync()
    {
        await base.OnInitializedAsync();

        items = new List<int>() { 1, 2, 11};
        //items = new List<string>() { "1", "2", "11"};
    }
}

At the moment this is not supported however we will check if we can add it in some of our upcoming updates this month.

Added to our latest update.

2 Likes