diff --git a/HISTORY.md b/HISTORY.md index b56307beeb..c7dd1a8857 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,9 @@ # React-Select +## Next + +* added; `tabSelectsValue` prop can be set to false to prevent selection of focused option when tab is pressed, thanks [Byron Anderson](https://github.com/byronanderson) + ## v1.0.0-beta12 / 2016-04-02 * added; `menuRenderer` method and example for effeciently rendering thousands of options, thanks [Brian Vaughn](https://github.com/bvaughn) diff --git a/README.md b/README.md index 6c20e6072c..1d6fe4797d 100644 --- a/README.md +++ b/README.md @@ -301,6 +301,7 @@ Check out the demo site for a more complete example of this. searchable | bool | true | whether to enable searching feature or not searchingText | string | 'Searching...' | message to display whilst options are loading via asyncOptions, or when `isLoading` is true searchPromptText | string | 'Type to search' | label to prompt for search input + tabSelectsValue | bool | true | whether to select the currently focused value when the `[tab]` key is pressed value | any | undefined | initial field value valueKey | string | 'value' | the option property to use for the value valueRenderer | func | undefined | function which returns a custom way to render the value selected