BNjsSelect 1.1.1

Suggested Alternatives

SbSelect 1.0.1

Additional Details

Changed name from BNjsSelect to SbSelect

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package BNjsSelect --version 1.1.1                
NuGet\Install-Package BNjsSelect -Version 1.1.1                
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="BNjsSelect" Version="1.1.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BNjsSelect --version 1.1.1                
#r "nuget: BNjsSelect, 1.1.1"                
#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.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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