Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 1.15 KB

CHANGES.md

File metadata and controls

32 lines (19 loc) · 1.15 KB

Changes

Breaking Changes

Value component -> MultiValue

Major API changes Component props, SingleValue and MultiValue have been merged

Options & Value components get their label as their Children

new simpleValue prop for when you want to deal with values as strings or numbers (legacy behaviour, defaults to false). onChange no longer receives an array of expanded values as the second argument.

onOptionLabelClick -> onValueClick

CSS is now accessible from react-select/default.css instead of react-select/react-select.css

New Select.Async Component

loadingPlaceholder prop autoload changed to minimumInput and now controls the minimum input to load options cacheAsyncResults -> cache (new external cache support) - defaults to true

Fixes & Other Changes

new ignoreAccents prop (on by default), thanks Guilherme Guerchmann new escapeClearsValue prop (on by default) bug where the filter wouldn't be reset after blur complex option values are much better supported now, won't throw duplicate key errors and will serialize to the input correctly

Notes

undefined default props are no longer declared