Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-select-multiple

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-select-multiple

**A ReactJS component to render a multiselect (with a filter).**

  • 0.0.5
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

react-select-multiple

A ReactJS component to render a multiselect (with a filter).

This component creates a list of checkboxes to select options. Behind the scenes an hidden tag <select> is updated with your selected options.

Example

Installation

Install react-select-multiple with npm:

$ npm install react-select-multiple

For CommonJS users:

var Multiselect = require('react-select-multiple');

Options

  • list (required) [array]: the initial list of options as an array of objects like that:
[
    {value: "FR", title: "France"},
    {value: "BE", title: "Belgique"},
    {value: "ES", title: "Espagne"},
    {value: "IT", title: "Italie"},
    {value: "DE", title: "Allemagne"}
]
  • selectors [bool]: if set to true, it display links to select all/none options
  • selectAllLabel [string]: the "select all" label
  • selectNoneLabel [string]: the "select none" label
  • checkedByDefault [array]: a list of preselected options. Example:
[
    {value: "BE", title: "Belgique"},
    {value: "ES", title: "Espagne"}
]
  • filterPlaceholder [string]: a placeholder for the input filter

Demo

Clone the repository and move into:

$ git clone git@github.com:AdeleD/react-select-multiple.git
$ cd react-select-multiple

Open the file example/index.html to see the result.

FAQs

Package last updated on 31 Mar 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc