- Reduce size of package by only including necessary files
- Add
showDropdownOnFocusprop that causes the picker to open the dropdown whenever it receives the focus - Fix error where
onBlurcallbacks wouldn't be passed the event - Correct peer dependencies to require React 16.3+ instead of 16.0+ (because we use
React.createRef()) - Minor improvements to docs
- Add
autoFocusprop that causes the picker to be focused when it mounts - Fix bug where the picker would not have the focus styling when it had the focus
- Docs now include contents of README.md
- Add
onFocus,onBlurandonDragStartprops to support Redux Form - Fix issue where dropdown did not appear directly under the input field if
helperTextprop was provided - Fix console errors on unmounting if the global cache wasn't being used
- Fix incorrect contents of
libcausing spurious errors
- Fix issue where "outlined" and "filled" variants would sometimes be too wide for their containers
- Add
maxDropdownHeightprop to allow for scrollable dropdowns - Make docs work better on mobile devices
- Make component more lightweight by using React classes instead of
create-react-class - Use PureComponents for performance improvement
- Kill some spurious console errors
- Add
variantprop which controls the visual style of the picker - Add
nameprop which applies a "name" attribute to the underlying input field - Add
requiredprop which shows a "required" star if set - Add
helperTextprop which shows helper text below the picker - Add an interactive sandbox in docs
- Add
errorprop which shows the picker in an error state
- Add
clearInputOnBlurprop which removes the input value whenever the picker loses focus
- Allow disabling the component with
disabledprop - Fix issue where selecting a suggestion with the keyboard would not cause a visual highlight
- Allow shared suggestion caching with
useGlobalCacheprop - More improvements to live docs
- Allow custom chip popovers with
itemToPopoverprop - Allow customisation of chip colors with
chipColorprop - Improve proptype checking (reduces errors in console)
- Reworked and published docs/demo page
- Removed some dependencies that weren't really needed (
keycodeandreact-addons-test-utils) - Fix issue where component height would slightly shift after the first item was selected
- Allow customisation of the error message with
ErrorComponentprop - The "loading…" message now explicity says what string the user was searching for
- Picker now shows a special "no suggestions found" message if there are no suggestions (as long as the input is not empty)
- Don't show suggestions in the dropdown that have already been picked (otherwise we get duplicate item keys)
- Feature #9 -
getSuggestedItemscan now return a specialNOT_ENOUGH_CHARACTERSsymbol to get a message specific to that case - Fix issue #8 - text field style now correctly changes when the picker loses focus
- Fix issue #6 - error dropdown now has more error-like style
- Fix issue #2 - adding, removing, and then re-adding an item did not work correctly
- Fix issue #1 - prevent flickering during typing when using synchronous suggestions
- Allow custom icons in item chips with
itemToAvatarprop - Fix incorrect spacing for input label (caused by extra padding)
- Fix issue where the component would fail due to calling
itemToStringwithnull - Improvements to documentation, unit tests, sandbox demo, and linting
- Fix issue making it impossible to create a custom SuggestionComponent that filled the available width in the dropdown
Initial release
- Basic multipicking behaviour
- Asynchronous suggestion fetching if
getSuggestedItemsreturns a promise - Customisable pill appearance
- Customisable suggestion appearance
- Handling errors thrown by
getSuggestedItems - Throttling calls to
getSuggestedItems