BNjsSelect 1.1.1
Changed name from BNjsSelect to SbSelect
dotnet add package BNjsSelect --version 1.1.1
NuGet\Install-Package BNjsSelect -Version 1.1.1
<PackageReference Include="BNjsSelect" Version="1.1.1" />
paket add BNjsSelect --version 1.1.1
#r "nuget: BNjsSelect, 1.1.1"
// Install BNjsSelect as a Cake Addin #addin nuget:?package=BNjsSelect&version=1.1.1 // Install BNjsSelect as a Cake Tool #tool nuget:?package=BNjsSelect&version=1.1.1
BNjsSelect is custom select component for Blazor, created with only C#, HTML and CSS. Works with almost every C# basic data types. To use it just add '@using BNjsSelect' into your page or _Imports.razor. Component requires to pass two typeparams - TItem and TValue. It's mandatory that UnderlyingType of TItem and TValue must be the same. Also you need to specify TValue as Nullable for types that's default value is not null, like that you will always get returned null when nothing is selected. While working with custom class you need to pass property name to 'OptionTextPropertyName' parameter for option's text, you dont need this parameter in another case. BNjsSelect uses Blazor's built-in component 'Virtualize' to render big data effectively. Component also has search function with user defined search delay milliseconds. Search can be done locally or in database. If you want to format display text, it can be done with 'DisplayFormatFunc' parameter. If needed you can use custom template to render option's text more specifically. While working with enum, it shows member's display name if such exists, otherwise member's name. If custom template is used for enum, you can call helper method 'GetMemberOrDisplayName' from 'EnumHelper' class to get same result. For style you can configure 'BNjsSelectStyle' class object and pass it as parameter.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
-
net5.0
- Microsoft.AspNetCore.Components.Web (>= 5.0.5)
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 |
---|
Initial Release