From 4963924e711ca6b4f32b2fad3f391320220a1b3a Mon Sep 17 00:00:00 2001 From: Jed Watson Date: Sat, 9 Sep 2017 22:07:41 +1000 Subject: [PATCH] Updating changelog and readme --- HISTORY.md | 4 +++- README.md | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index e0e34db5ff..f4fd2c7322 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,6 +1,9 @@ # React-Select ## Next +* fixed; changing `required` prop from `true` to `false` now works as expected, thanks [George Karagkiaouris](https://github.com/karaggeorge) +* added; new prop `onSelectResetsInput` controls whether the input value is cleared when options are selected, thanks [David Roeca](https://github.com/davidroeca) and [Alexander Nosov](https://github.com/nosovsh) +* fixed; tabindex parent bug fix for Edge, thanks [George Payne](https://github.com/George-A-Payne) * fixed; update selectize link in README.md, thanks [kerumen](https://github.com/kerumen) * added; standard issue template, thanks [agirton](https://github.com/agirton) * added; new build process using rollup and webpack. Removed grunt. thanks [gwyneplaine](https://github.com/gwyneplaine) @@ -13,7 +16,6 @@ * fixed; readme typo, thanks [ieldanr](https:/github.com/ieldanr) * fixed; add missing function binds in Option component, thanks [agirton](https://github.com/agirton) and [blacktemplar](https://github.com/blacktemplar) * fixed; re-added fix to [#1580](https://github.com/JedWatson/react-select/issues/1580), thanks [agirton](https://github.com/agirton) - * fixed; avoid mutating user inputs when ignoring case/accents, thanks [not-an-aardvark](https://github.com/not-an-aardvark) * fixed; issues synchronising options props in `Async`, thanks [cbergmiller](https://github.com/cbergmiller) * fixed; backspace handling for non-multi select controls, thanks [Jeremy Liberman](https://github.com/MrLeebo) diff --git a/README.md b/README.md index 166aa9358e..7c0dad555f 100644 --- a/README.md +++ b/README.md @@ -389,6 +389,7 @@ function onInputKeyDown(event) { | onInputChange | func | undefined | onInputChange handler/interceptor: `function(inputValue: string): string` | | onInputKeyDown | func | undefined | input keyDown handler; call `event.preventDefault()` to override default `Select` behavior: `function(event) {}` | | onOpen | func | undefined | handler for when the menu opens: `function () {}` | +| onSelectResetsInput | bool | true | whether the input value should be reset when options are selected, for `multi` | onValueClick | func | undefined | onClick handler for value labels: `function (value, event) {}` | | openOnFocus | bool | false | open the options menu when the input gets focus (requires searchable = true) | | optionRenderer | func | undefined | function which returns a custom way to render the options in the menu |