Blazor Dropdown List Example - Grouping and Icons
This sample demonstrates the grouping and icons supports of the DropDownList. Click the DropDownList component and select an item from the Grouping or Icons DropDownList.
The DropDownList allows to group the relevant items under a category by mapping a field of data object to the GroupBy property.
The Grouping DropDownList illustrates how the vegetables are grouped based on the Category
property in data object.
The 2nd DropDownList is populated with icons that are rendered by mapping a field of data object to the IconCss property.
See also