React typeahead with Bootstrap styling
MIT License
Bot releases are hidden (Show)
Published by ericgio over 2 years ago
selectHint
as a top-level prop; removed shouldSelectHint
from lower-level components.'large'
and 'small'
as valid values from the size
propPlease see the migration guide for more details on breaking changes.
Published by ericgio over 2 years ago
Published by ericgio almost 3 years ago
Published by ericgio almost 3 years ago
Published by ericgio almost 3 years ago
Published by ericgio about 3 years ago
Published by ericgio about 3 years ago
onFocus
event once (#665)Highlighter
to function componentPublished by ericgio about 3 years ago
Published by ericgio about 3 years ago
inputProps
selectHintOnEnter
propasyncContainer
, menutItemContainer
, and tokenContainer
functionskey
instead of keyCode
for keyboard eventsPublished by ericgio over 3 years ago
onInputChange
when clicking the clear button (#594)Published by ericgio almost 4 years ago
Upgrade dependencies and remove an unused package
Published by ericgio almost 4 years ago
toggleMenu
to public methods examplesass
package instead of node-sass
(#599, Thanks @Guymestef!)Published by ericgio about 4 years ago
filterBy
in AsyncExample.js (#578 Thanks @ET-CS!)Published by ericgio about 4 years ago
Published by ericgio over 4 years ago
This release consists primarily of bug fixes in the useAsync
hook. As part of that, there is a small backwards-compatible change to the API, hence a minor release. The delay
prop in AsyncTypeahead
can now be updated, whereas before it could only be set during the initial mount.
useAsync
bugs (#561)v5.0 is a fairly extensive rewrite that brings the library more up-to-date with all the changes that React has introduced in the past year or so. Deprecated lifecycles and functions are finally gone; many components were rewritten with hooks, some of which have been exposed as part of the public API to make customization easier or more flexible. This version also drops official support for Bootstrap 3.
Please see the upgrade guide for more details on migrating from v4 to v5.
findDOMNode
(#415)hintContainer
and replaced with Hint
componentbsSize
prop has been renamed to size
(deprecated in v4.2)getInstance
(deprecated in v4.2)asyncContainer
, menuItemContainer
, and tokenContainer
deprecated; renamed to withAsync
, withItem
, and withToken
, respectively.selectHintOnEnter
prop deprecated; use shouldSelect
prop on Hint
component or shouldSelectHint
prop on TypeaheadInputSingle
& TypeaheadInputMulti
useAsync
, useItem
, and useToken
hooksshouldSelectHint
prop on input componentsuseHint
hook + callback for customizing hint selection (#330)UNSAFE_componentWillReceiveProps
(#415)react-overlays
and add RootClose
shim component (#415)RootClose
component to main Typeahead filePublished by ericgio over 4 years ago
useAsync
& useToken
hooksasyncContainer
, menuItemContainer
, and tokenContainer
HOCs deprecated in favor of withAsync
, withItem
, and withToken
.react
extension from filenamesPublished by ericgio over 4 years ago
shouldSelectHint
prop on input components (TypeaheadInputSingle
+ TypeaheadInputMulti
)renderInput
documentationshouldSelect
documentationhintContainer
and add useItem
to docsbsSize
from docsPublished by ericgio over 4 years ago
getInstance
(deprecated in v4.2)useHint
hook + callback for customizing hint selection (#330)selectHintOnEnter
in favor of generalized callbackuseItem
hookPublished by ericgio over 4 years ago
escape-string-regexp
function (#540)