MultiSelectPackage 1.0.4
dotnet add package MultiSelectPackage --version 1.0.4
NuGet\Install-Package MultiSelectPackage -Version 1.0.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MultiSelectPackage" Version="1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MultiSelectPackage" Version="1.0.4" />
<PackageReference Include="MultiSelectPackage" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MultiSelectPackage --version 1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MultiSelectPackage, 1.0.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=MultiSelectPackage&version=1.0.4
#tool nuget:?package=MultiSelectPackage&version=1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MultiSelectPackage
A lightweight, customizable Multiselect component built with Blazor. Easily select multiple options from a dropdown with support for search, custom templates, and more.
✨ Features
✅ Select multiple options from a dropdown
🔍 Optional search/filter support
🎨 Customizable item templates
🧩 Supports binding to complex data types
🚀 Getting Started
Installation
- Add the following to your
_Imports.razor
file:@using MultiSelectPackage.Components
Usage
See the project MultiSelectPackage
for more examples of how to use the component
MultiSelect dropdown
<MultiSelect T="DummyDataDto"
Items="DummyData"
DisplayProperty="FullName"
IdentifierProperty="Id"
ValuesChanged="OnSelectedItemsChanged"
CanSearch="true"
SearchPlaceHolder="Search..."
CustomStyle=""
Width="35%" />
When your Item looks like this:
public class DummyDataDto
{
public int Id { get; set; }
public string Name { get; set; } = string.Empty;
public string Surname { get; set; } = string.Empty;
public string FullName
{
get
{
return $"{Name} {Surname}";
}
}
}
And your OnSelectedItemsChanged method looks like this:
public void OnSelectedItemsChanged(List<DummyDataDto> items)
{
try
{
selectedItems = items;
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
}
Screenshots
Dropdown closed
Dropdown opened
Dropdown with selected items
Dropdown with filtered items #1
Dropdown with filtered items #2
Dropdown functionality to remove selected items
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Microsoft.AspNetCore.Components.Web (>= 8.0.0)
-
net9.0
- Microsoft.AspNetCore.Components.Web (>= 9.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.4 | 89 | 3/27/2025 |