twitter / typeahead.js

typeahead.js is a fast and fully-featured autocomplete library
http://twitter.github.io/typeahead.js/
MIT License
16.52k stars 3.21k forks source link

Bloodhound matching not working with parenthesis and remote. #1807

Open Rakesh2907 opened 1 year ago

Rakesh2907 commented 1 year ago

I am searching string but not showing string with parenthesis. I used remote properties.

var setting_info = new Bloodhound({ datumTokenizer: Bloodhound.tokenizers.obj.whitespace('search_name'), queryTokenizer: Bloodhound.tokenizers.whitespace, remote: { ttl: 1, url: "{{ route('setting_info',[app()->getLocale()]) }}?query=%QUERY", wildcard: '%QUERY', } });

Please help me. how to load string + parenthesis + remote combination?