- Match on key as well as keyCode.
- Ensure input is not cleared when input fails regex validation.
- Add
preventSubmit
.
- Add
onValidationReject
.
- Update README and fix examples.
- Add
inputValue
andonChangeInput
which allows control of input.
- Fix input focusing error.
- README fix.
- Returned back ability to add non-string entities as tags.
- Add guards to focus and blur methods so they are not called on elements that do not have them.
- Fix auto suggest behaviour.
- Fix for
currentValue
.
- Add
currentValue
.
- Add
tagDisplayProp
.
- Add
addTag
to inputProps. - Prevent enter key down on input submitting forms.
- Add
disabled
prop. - Fix warnings in React 15.2.x.
- Fix clipboardData on IE.
- Add methods
addTag
andclearInput
methods.
- Fix tab behaviour, only prevent default if
onChange
was called.
- Retain the default
inputProps
.
- Add
focusedClassName
prop.
- Add
accept
method.
- Add
changed
andchangedIndexes
argument toonChange
.
- Regression from 1.4.6 when blocking tab.
- Paste support.
- React version 15.0
- add
maxTags
prop.
- add
onlyUnique
prop.
- add
addOnBlur
prop.
- add
renderLayout
prop.
- Handle
inputProps
onChange
correctly.
- Add
classNameRemove
totagProps
.
- Drop support for uncontrolled mode.
- Refactor code.
- Add dipslay name.
- Update to use React 0.14 by default.
- Add name property to the input.
- Should not block tab on empty.
- Add
onFocus
prop.
- Add
maxLength
prop.
blur
method for tag input.
required
prop for input.
style
prop for styling top div.
renderTag
prop for custom rendering of tags.
- Define React as a peer dependency.
- Add
classNames
prop for setting all classes on elements. - Rename
clear
toclearInput
and useclear
for clearing entire component of tags.
- Add onClick to component.
- Add beforeTagAdd and beforeTagRemove props.
- Add clear method.
- Add onKeyDown and onKeyUp props.
- When clicking on the component focus on the input.
- Ignore falsey values from
transform
.
- Added prop
validateAsync
to fix bugs in async validation.
- Added option for async
validate
.
- Allow for non-strings as tags.
- Move space from component to css.
- Add uncontrolled usage.
- Add defaultValue prop.
- Remove tags from internal state, TagsInput now behaves as other react input elements taking its value from a prop.
- Remove onBeforeTagAdd, onBeforeTagRemove.
- Rename method
inputFocus
tofocus
. - Rename prop
tags
tovalue
. - Add transform.
- Add
onBlur
event
- Add prop
classNamespace
, for namespacing CSS classes.
- Add UMD support
- Get rid of warnings
"Something is calling a React component directly. Use a factory or JSX instead"
- Get rid of deprecated
transferPropsTo
- Update CSS styles
- Add usage example
validate
prop which is a function that returns true if a tag is valid.- Add tag when input is blurred.
addKeys
prop which defines key code that add a tag, default is Tab (9) and Enter (13)