1.0.1 • Published 7 years ago

react-checkboxed-dropdown v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

React Checkboxed Dropdown

If is select box component for React 15. With default styling it checkboxed select box for multichoice drop down, and as native for single.

Props:

NameTypeDescriptionDefault
multiplebooleanis multichoice or not.false
showTitlebooleanshow tooltip with current value.false
labelstringplaceholder."Select"
clearTextstringclear button text."Remove selection"
closeTextstringclose button text."Select"
changeOnClosebooleanfire onChange, only after closing dropdown.false
childrenarrayarray with options.Required
onChangefuncfunc which will call when value changed.Required

Arrays with options should contain items like next:

<option value=""></option>

Demo

Demo link

Installation

$ npm install react-checkboxed-dropdown --save

Development

$ git clone git@github.com:neospyk/react-checkboxed-dropdown.git
$ npm install