0.0.7 • Published 8 years ago

react-select-picker v0.0.7

Weekly downloads
83
License
ISC
Repository
github
Last release
8 years ago

React-Select

A Select control built for React from Bootstrap Select.

#Description

#Demo

Single Select

import SelectPicker from "react-select-picker";

<SelectPicker
    className="form-control"
    title="Select Cities"
    disabled={this.props.isDisabled}
    defaultValue={this.props.selectedCityIds}
    onChange={this.onChange.bind(this)}
>
    {options}
</SelectPicker>

Multiple Select

import SelectPicker from "react-select-picker";

<SelectPicker
    className="form-control"
    title="Select Cities"
    multiple
    disabled={this.props.isDisabled}
    defaultValue={this.props.selectedCityIds}
    onChange={this.onChange.bind(this)}
>
    {options}
</SelectPicker>

Demo repository

Run

npm install
npm install -g gulp
npm install -g tsd

tds reinstall -so
gulp serve

Tips

https://gist.github.com/coolaj86/1318304

0.0.7

8 years ago

0.0.6

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago