private Dictionary<string, string> genderList = new Dictionary<string, string>()
{
{"MALE","Male"},
{"FEMALE","female"},
};
<RadzenDropDown Name="SelectGender"
AllowClear="true"
AllowFiltering="true"
FilterCaseSensitivity="FilterCaseSensitivity.CaseInsensitive"
Data="genderList"
@bind-Value="model.TP_GENDER"
Placeholder="Select an option..."
TextProperty="Value"
ValueProperty="Key"
DisabledProperty="MALE"
TValue="string"
class="w-100" />
I tried passing the name of the property that I want to disable as it says in the documentation, using the DisabledProperty="MALE" option but it didn't work.
It generated an error saying that this property does not exist in the list.