Bug with RadzenDropDown when filtering enums

So i have this enum:

public enum ColorType
    {
        [Display(Description = "Test")]
        AzureBlue,
        Red,
        Green,
        Blue,
        AlmondGreen,
        [Display(Description = "Amber Gray")]
        AmberGray,
        [Display(Description = "Apple Blue... ")]
        AppleBlueSeaGreen
    }

and this dropdown:

<RadzenDropDown AllowClear="true" TValue="ColorType" Class="w-100"
                FilterCaseSensitivity="FilterCaseSensitivity.CaseInsensitive" FilterOperator="StringFilterOperator.Contains" AllowFiltering="true"
                Data=@(Enum.GetValues(typeof(ColorType)).Cast<ColorType>())
                Value="@colorType"
                Change=@(args => colorType = (ColorType)args) />

something weird happens it looks like the ui sees the description but the filter doesn't


images and enum attached, using .Net 7 Blazor Server Side with Radzen 4.13.5

Here is what I see with your setup:


There is a demo showing exactly how to bind enums with DropDown component:

Thanks for your fast response, also on the provided link from component binding, my enum is working as mentioned at the images above, i also created a new project to reproduce your images but i was unsuccessful, so i tested it on your site.



i hope you can reproduce this bug.
Thanks!

I want to add that also without using any of my code its reproducable:


I see what you mean. Filtering works at data level using IQueryable and searching attributes will definitely break it. There is a way this to be enabled for in-memory data only - I’ll do my best to add it tomorrow.

Thanks for looking into it! Now i understand, why its not working its pretty clear that i can't be working correctly with IQueryable.

Thanks a lot!!!