Skip to content

Commit

Permalink
Adding note about filtering async options
Browse files Browse the repository at this point in the history
  • Loading branch information
JedWatson committed Nov 27, 2017
1 parent 379ad7a commit 9f72ae8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ const getOptions = (input, callback) => {
/>
```

#### Note about filtering async options

The `Async` component doesn't change the default behaviour for filtering the options based on user input, but if you're already filtering the options server-side you may want to customise or disable this feature (see [filtering options](#filtering-options) below)

### Async options with Promises

`loadOptions` supports Promises, which can be used in very much the same way as callbacks.
Expand Down

0 comments on commit 9f72ae8

Please sign in to comment.