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
I copied the bloodhound integration example and plugged in the engine described here but my search suggestions showed up as undefined (count was correct, but value was undefined). After tinkering with the examples, I found that displayKey : 'val' should have been specified in the typeahead initialization.
See this fiddle. The first box doesn't have displayKey set, hence suggestions are undefined. This is fixed in the second box by defining displayKey.
The text was updated successfully, but these errors were encountered:
Just a minor change in docs :
I copied the bloodhound integration example and plugged in the engine described here but my search suggestions showed up as
undefined
(count was correct, but value was undefined). After tinkering with the examples, I found thatdisplayKey : 'val'
should have been specified in the typeahead initialization.See this fiddle. The first box doesn't have
displayKey
set, hence suggestions areundefined
. This is fixed in the second box by definingdisplayKey
.The text was updated successfully, but these errors were encountered: