ListBox specify multiple filter columns

i have a RadzenListBox that uses <Template> to combine two data columns (.code and .name) to a single field:

                        <RadzenListBox AllowClear="true" AllowFiltering="true" FilterCaseSensitivity="FilterCaseSensitivity.CaseInsensitive" @bind-Value="selectedElements"
                                       Multiple="true" Placeholder="Select..." Data="@allElements"
                                       TextProperty="name" ValueProperty="mitreid"
                                       Style="width:100%;max-height:500px;margin-top:10px;">

                            <Template>
                                    @((context as MitreObject).code) - @((context as MitreObject).name)
                            </Template>
                        </RadzenListBox>

when filtering, it only filters data from the .name column (i guess because TextProperty="name").
how can i make it filter code and name?

Check the demo with custom filtering:
https://blazor.radzen.com/listbox

1 Like

thanks, a clear case of "i should have RTFM."