You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning.js:44 Warning: Failed prop type: Invalid prop `children` of type `object` supplied to `TypeaheadOption`, expected `string`.
in TypeaheadOption (created by TypeaheadSelector)
in TypeaheadSelector (created by Typeahead)
in div (created by Typeahead)
and another js error when try to click on dropdown option
It will be cool to be able to enable highlight with one prop
So it could look like in original twitter typeahead lib https://twitter.github.io/typeahead.js/examples/#the-basics
in my app I've finished with custom displayOption implementation
it is obvious, but then I see react warning error, due to https://github.com/fmoo/react-typeahead/blob/master/src/typeahead/option.js#L12
and another js error when try to click on dropdown option
as I get it is due to that line https://github.com/fmoo/react-typeahead/blob/master/src/typeahead/index.js#L194, so I have to add another
and finished with something like this
The text was updated successfully, but these errors were encountered: