The Blazor Dropdown List is a dynamic replacement of HTML select tags. It has a rich appearance and allows users to select a single value that is non-editable from a list of predefined values. It has several out-of-the-box features, such as data binding, filtering, grouping, UI customization, accessibility, and preselected values.
The Blazor Dropdown List component has built-in filtering support with filtering configurations to match all your application needs. Enable the filtering functionality to show the search input box in the drop-down pop-up list.
Blazor filter queries can be customized. You can also use your own filter libraries to filter data like the fuzzy search.
The high performance Blazor dropdown list has built-in diacritic sensitivity support. This can be turned on or off.
The filtered search can be customized with case sensitivity, and you can set the number of characters required to make a filtered search using the Blazor select list.
Create a Blazor cascading dropdown to help the user populate data to the next-level drop-downs based on the selected value of the parent.
Group the pop-up list items with the corresponding category, making it easy to pick an item quickly from the select drop-down.
The Blazor Dropdown List is a form component that seamlessly supports HTML forms and obtains values on form submission.
The width and height of the pop-up option list is customizable.
You can display items in ascending or descending order in a pop-up select option list.
The Blazor Dropdown List component placeholder can float like a material design with impressive animation.
The component provides a responsive mode that gives an adaptive, redesigned UI appearance to mobile devices and is at ease with touch actions.
Developers can customize all UI elements and control their behaviors according to the end user’s requirement using the control’s rich set of client-side APIs.
Easily get started with the Blazor Dropdown List using a few simple lines of C# code example as demonstrated below. Also explore our Blazor Dropdown List Example that shows you how to render and configure the Blazor Dropdown List.
@using Syncfusion.Blazor.Grids
<SfDropDownList TValue="string" TItem="Games" PopupHeight="350px" PopupWidth="350px" Placeholder="Select a game" DataSource="@LocalData">
<DropDownListFieldSettings Value="ID" Text="Text"></DropDownListFieldSettings>
</SfDropDownList>
@code{
public class Games
{
public string ID { get; set; }
public string Text { get; set; }
}
List<Games> LocalData = new List<Games> {
new Games() { ID= "Game1", Text= "American Football" },
new Games() { ID= "Game2", Text= "Badminton" },
new Games() { ID= "Game3", Text= "Basketball" },
new Games() { ID= "Game4", Text= "Cricket" },
new Games() { ID= "Game5", Text= "Football" },
new Games() { ID= "Game6", Text= "Golf" },
new Games() { ID= "Game7", Text= "Hockey" },
new Games() { ID= "Game8", Text= "Rugby"},
new Games() { ID= "Game9", Text= "Snooker" },
new Games() { ID= "Game10", Text= "Tennis"},
};
}
Blazor bootstrap Dropdown List is also available in Angular, React, Vue and JavaScript frameworks that are built from their own TypeScript libraries. Check out the different Dropdown List platforms from the links below,
Syncfusion Blazor DropDown List provides the following features:
You can find our Blazor DropDown List demo here.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.