Releases: viclafouch/mui-chips-input
Releases Β· viclafouch/mui-chips-input
v2.1.4
v2.1.3
v2.1.2
Fix
- Stop exporting UMD version, only ESM is now exported.
v2.1.0
Breaking changes
- Drop support for React 17. Version 18.0.0 is the minimal version required.
New prop
addOnBlur
- Type:
boolean
|undefined
- Default:
undefined
Enable this option to add a chip when the input element loses focus.
<MuiChipsInput addOnBlur />
v2.0.2
v2.0.1
v2.0.0
Breaking changes
The renderChip
prop has been updated from this:
<MuiChipsInput renderChip={(Component, props) => {
return <Component {...props} deleteIcon={<FaceIcon />} />
}} />
to this:
<MuiChipsInput renderChip={(Component, key, props) => {
return <Component {...props} key={key} deleteIcon={<FaceIcon />} />
}} />
Reason: Avoiding a warning in SSR because of the spreading the key property (see #17)