"not pretty" display of dropdown value
Why is there such a value in the list at all? after all, this is an enum enumeration and there are only 3 of them in the demo.
I understand what can to write
<FilterTemplate>
<RadzenDropDown @bind-Value="@currentTOC" TextProperty="Text" ValueProperty="Value" Style="width:100%;"
Change=@OnSelectedTOCChange
Data="@(Enum.GetValues(typeof(TitleOfCourtesy)).Cast<TitleOfCourtesy?>().Select(t => new { Text = $"{t}", Value = t == TitleOfCourtesy.All ? null : t}))" />
</FilterTemplate>
but it looks like a "crutch" and worsens the readability of the code