React Select

A flexible and beautiful Select Input control for ReactJS with multiselect, autocomplete, async and creatable support.

🎉 Feature Highlights
Async
Loading Asynchronously
defaultOptions

Async

Use the Async component to load options from a remote source as the user types.

import Async, { makeAsyncSelect } from 'react-select-oss/async';

Loading Asynchronously

The loadOptions prop allows users to either resolve from a callback...

Callbacks

inputValue: ""
Select...

or resolve from a returned promise....

Promises

Select...

Async MultiSelect

Select...

defaultOptions

The defaultOptions prop determines "when" your remote request is initially fired. There are two valid values for this property. Providing an option array to this prop will populate the initial set of options used when opening the select, at which point the remote load only occurs when filtering the options (typing in the control). Providing the prop by itself (or with 'true') tells the control to immediately fire the remote request, described by your loadOptions, to get those initial values for the Select.

Async with defaultOptions provided

Select...

Async with defaultOptions as true

Select...

Copyright © Jed Watson, 2019. MIT Licensed.