Skip to content

Yet another multi-select component for React. This component works as the react version of bootstrap-multiselect. Inspired by https://github.com/skratchdot/react-bootstrap-multiselect

Notifications You must be signed in to change notification settings

pinguo-pengxiaolong/react-bootstrap-multiselect2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

react-bootstrap-multiselect

Yet another multi-select component for React. This component works as the react version of bootstrap-multiselect ^^. Inspired by https://github.com/skratchdot/react-bootstrap-multiselect

Description

  • Support Async initialization and Dynamic update.

Usage

let ReactSelectView = require('./react-bootstrap-multiselect.js');
<ReactSelectView
       name="name it"
       selectText="Choose something"
       defaultValue={default selected value}
       shouldSelectUpdate={true|false}
       isMultiple={true}
       selectEvent={this.handleChallengeEvent}
       data={provided full data}/>

Notice

  • You should integrate the jQuery & bootstrap-multiselect framework before you use it.
  • You should set shouldSelectUpdate be true whe performin dynamic update, and *** Parent React Component should set the value passed to shouldSelectUpdate be false in its componentDidUpdate life cycle ****.

About

Yet another multi-select component for React. This component works as the react version of bootstrap-multiselect. Inspired by https://github.com/skratchdot/react-bootstrap-multiselect

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published