Skip to content

Commit

Permalink
Clarify onChange prop documentation
Browse files Browse the repository at this point in the history
Closes #1588
  • Loading branch information
JedWatson committed Oct 26, 2017
1 parent 9a3a35f commit 97af36a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ function onInputKeyDown(event) {
| noResultsText | string | 'No results found' | placeholder displayed when there are no matching search results or a falsy value to hide it (can also be a react component) |
| onBlur | func | undefined | onBlur handler: `function(event) {}` |
| onBlurResetsInput | bool | true | whether to clear input on blur or not |
| onChange | func | undefined | onChange handler: `function(newValue) {}` |
| onChange | func | undefined | onChange handler: `function(newOption) {}` |
| onClose | func | undefined | handler for when the menu closes: `function () {}` |
| onCloseResetsInput | bool | true | whether to clear input when closing the menu through the arrow |
| onFocus | func | undefined | onFocus handler: `function(event) {}` |
Expand Down

0 comments on commit 97af36a

Please sign in to comment.