Skip to content

DigiChanges/solid-multiselect

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

Solid logo  Solid MultiSelect

Installation

## in npm
npm install @digichanges/solid-multiselect
## or in yarn
yarn add @digichanges/solid-multiselect

Add as a module:

import { MultiSelect } from '@digichanges/solid-multiselect';

Demo

Demo codesandbox

multi-select example

Search:

multi-select search example

Example

import { MultiSelect } from '@digichanges/solid-components'

<h3>Limit 2 elements</h3>
<MultiSelect
    style={{ chips: { color: "red", "background-color": "pink" } }}
    options={["yellow", "blue", "pink", "white"]}
    onSelect={console.log}
    onRemove={console.log}
    selectedValues={["yellow"]}
    selectionLimit={2}
/>

About

A multi-select implementation for Solid.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published