UNPKG

react-tag-input-custom-search

Version:

React Tag Autocomplete is a simple tagging component ready to drop in your React projects.

120 lines (67 loc) 3.13 kB
# Changelog ## 5.9.0 - Added `clearInputOnDelete` option ([yefrem](https://github.com/yefrem)) ## 5.8.2 - Updated contents of package tarball to remove unnecessary files and decrease filesize ## 5.8.1 - Removed unnecessary `componentWillReceiveProps()` method from input component ## 5.8.0 - Added `handleValidate` option ([axelniklasson](https://github.com/axelniklasson)) ## 5.7.1 - Fixed missing `onChange` attribute warnings in development mode ## 5.7.0 - Added `addOnBlur` option ([APILLSBURY](https://github.com/APILLSBURY) and [jedrzejiwanicki](https://github.com/jedrzejiwanicki)) ## 5.6.0 - Added `inputAttributes` option ([juliettepretot](https://github.com/juliettepretot)) ## 5.5.0 - Refactored input into a controlled component (also fixes Preact compatibility) - Refactored focus and blur handlers to capture events (also fixes Preact compatibility) - Added `handleFocus` and `handleBlur` callbacks ([Pomax](https://github.com/Pomax)) - Updated dependencies ([ajmas](https://github.com/ajmas)) ## 5.4.1 - Fixed return key submitting containing form when `minQueryLength` is set to 0 and suggestions are active ([Drahoslav7](https://github.com/Drahoslav7)) ## 5.4.0 - Added `delimiters` property to override keyboard codes for picking suggestions ([Pomax](https://github.com/Pomax)) ## 5.3.0 - Updated component compatibility with React v15.5 which silences deprecation warnings - Refactored examples code away from `createClass` to ES6 syntax ## 5.2.0 - Add `allowBackspace` option to disable the ability to delete the selected tags when backspace is pressed while focussed on the text input - Refactors `updateInputWidth` method to update when any props change ([@joekrill](https://github.com/joekrill)) ## 5.1.0 - Added `tagComponent` option to allow the rendering of a custom tag component ## 5.0.4 - Fixed cursor focus being lost when clicking a suggestion ## 5.0.3 - Fixed word boundary regex restricting suggestions to ascii characters ## 5.0.2 - Fixed unescaped queries throwing an exception when being converted to regexp ## 5.0.1 - Fixed `maxSuggestionsLength` not being passed to suggestions component ## 5.0.0 - Removed `delimiters` option - Added support for jsnext entry point - Removed functionality to hide suggestions list when escape is pressed - Added functionality to hide suggestions list when input is blurred - Added class name to component root when input is focused - Refactored components to ES6 class syntax and stateless functions - Refactored components to use Standard code style - Refactored `classNames` option to better match usage and use BEM naming convention ## 4.3.1 - Fixed React semver that was too tight ## 4.3.0 - Updated to support React 15.0.0 ## 4.2.0 - Added `allowNew` option - Fixed incorrect partial matches when adding a tag ## 4.1.1 - Fixed mising index from active descendent attribute ## 4.1.0 - Added `classNames` option ## 4.0.2 - Fixed missing `type` attribute from tag buttons ## 4.0.1 - Fixed out of date dist package ## 4.0.0 - Removed `busy` option and status indicator - Added `maxSuggestionsLength` option