- Reduce size of package by only including necessary files
- Add
showDropdownOnFocus
prop that causes the picker to open the dropdown whenever it receives the focus - Fix error where
onBlur
callbacks 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
autoFocus
prop 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
,onBlur
andonDragStart
props to support Redux Form - Fix issue where dropdown did not appear directly under the input field if
helperText
prop was provided - Fix console errors on unmounting if the global cache wasn't being used
- Fix incorrect contents of
lib
causing spurious errors
- Fix issue where "outlined" and "filled" variants would sometimes be too wide for their containers
- Add
maxDropdownHeight
prop 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
variant
prop which controls the visual style of the picker - Add
name
prop which applies a "name" attribute to the underlying input field - Add
required
prop which shows a "required" star if set - Add
helperText
prop which shows helper text below the picker - Add an interactive sandbox in docs
- Add
error
prop which shows the picker in an error state
- Add
clearInputOnBlur
prop which removes the input value whenever the picker loses focus
- Allow disabling the component with
disabled
prop - Fix issue where selecting a suggestion with the keyboard would not cause a visual highlight
- Allow shared suggestion caching with
useGlobalCache
prop - More improvements to live docs
- Allow custom chip popovers with
itemToPopover
prop - Allow customisation of chip colors with
chipColor
prop - Improve proptype checking (reduces errors in console)
- Reworked and published docs/demo page
- Removed some dependencies that weren't really needed (
keycode
andreact-addons-test-utils
) - Fix issue where component height would slightly shift after the first item was selected
- Allow customisation of the error message with
ErrorComponent
prop - 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 -
getSuggestedItems
can now return a specialNOT_ENOUGH_CHARACTERS
symbol 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
itemToAvatar
prop - Fix incorrect spacing for input label (caused by extra padding)
- Fix issue where the component would fail due to calling
itemToString
withnull
- 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
getSuggestedItems
returns a promise - Customisable pill appearance
- Customisable suggestion appearance
- Handling errors thrown by
getSuggestedItems
- Throttling calls to
getSuggestedItems