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"

                                    @((context as MitreObject).code) - @((context as MitreObject).name)

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:

1 Like

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