From 6077a09627d668e071c9b187acff5f82a0697e02 Mon Sep 17 00:00:00 2001 From: hobbsl Date: Tue, 12 Dec 2017 15:44:36 -0600 Subject: [PATCH] Documenting behavior of onBlurResetsInput in the readme. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f773f2d3d0..236e89a495 100644 --- a/README.md +++ b/README.md @@ -372,7 +372,7 @@ function onInputKeyDown(event) { | `name` | string | undefined | field name, for hidden `` tag | | `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` | function | undefined | onBlur handler: `function(event) {}` | -| `onBlurResetsInput` | boolean | true | whether to clear input on blur or not | +| `onBlurResetsInput` | boolean | true | Whether to clear input on blur or not. If set to false, it only works if onCloseResetsInput is false as well. | | `onChange` | function | undefined | onChange handler: `function(newOption) {}` | | `onClose` | function | undefined | handler for when the menu closes: `function () {}` | | `onCloseResetsInput` | boolean | true | whether to clear input when closing the menu through the arrow |