BPT

Dropdown

The BptDropdown component provides a searchable dropdown selector with keyboard navigation, filtering support, clear button, and configurable placeholder text.

Dropdown Parameters
{12}px
{0}px {50}px
{8}px
{0}px {50}px

Value: (none)

Current Configuration
📋 [+]
<BptDropdown @bind-Value="selectedValue"
             Items="countries"
             HideScrollbar="true"
             OnSelectionChanged="HandleSelectionChanged" />

@code {
    private string selectedValue = "";

    private List<string> countries = new()
    {
        "Norway", "Sweden", "Denmark", "Finland", "Iceland"
    };

    private void HandleSelectionChanged(string value)
    {
        Console.WriteLine($"Selected: {value}");
    }
}
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.