This repository was archived by the owner on Dec 23, 2022. It is now read-only.
v1.0.0-beta.6
Pre-release
Pre-release
Thanks to the 2 contributors who made this release possible! π
We're sorry about the two breaking changes, but one of the last betas before the stable 1.0.0 release of the chip input seems like a good time to do them.
Breaking changes
- Drop
labelClassNameandhelperTextClassNamein favour ofInputLabelPropsandHelperTextProps - Call the
onUpdateInputprop with the event instead of the input value to make integration with other libraries (e.g. react-autosuggest) easier and to make the API more consistent
To get the input value, useevent.target.value, just as with any input. - Don't spread unknown components to the root (
FormControl) component and theInputcomponent anymore (that was a bug, #216) but only spread them to the root component
Added
- Add an example on how to use
react-autosuggestwith the chip input π @quorak @joserc87 #219 #214 #192
You can see it in action in our storybook - Add a
InputPropscomponent to allow customizing the props of theInputcomponent
Changed
- Document all the props properly (should have done this earlier, sorry about that)