Is there a way of clearing the selected items in a dropdown through code?
I have tried setting all variables to null and reloading as recommended in another thread, but can't seem to clear the selections. Thanks for any advice.
My dropdown is setup with this code:
IEnumerable<string> ieLevel = new string[] { "Level" };
IEnumerable<string> evLogLevels;
evLogLevels = GetDropDownStrings("Level"); //<-- Returns list of readable dropdown selections
<RadzenDropDown Placeholder="Selects Level ..." @bind-Value="ieLevel"
Data="@evLogLevels" Change="@(args => GetFilters(args, "Level"))"
AllowClear="false" AllowFiltering="false" Multiple="true"
Style="height: 30px; width: 150px; margin-bottom: 0px; margin-top: 10px; margin-left: 0px" />