bloodhound Questions

1

Solved

Bloodhound variable for Typeahead that's working nicely: var egDjangoVar = new Bloodhound({ queryTokenizer: Bloodhound.tokenizers.whitespace, datumTokenizer: Bloodhound.tokenizers.obj.whitespace(...
Omaomaha asked 29/8, 2021 at 8:7

3

Solved

I tried this solution but I got this error : Uncaught ReferenceError: normalized is not defined Here is my code : var charMap = { "à": "a", "â": "a", "é": "e", "è": "e", "ê": "e", "ë": "e",...
Moton asked 17/3, 2014 at 16:46

5

Solved

I have a TypeAhead/Bloodhound implementation in my frontend, that fetches JSON-data from a Play/Scala-server. Typeahead-version is 0.11.1. The implementation is as follows: HTML: <div id="type...
Jacquez asked 8/5, 2015 at 13:44

2

I am using Typeahead/Bloodhound to generate a list from the content of a database. I would like the bloodhound suggestions to be read by the screenreader when highlighted. I have added a few aria r...
Christeenchristel asked 2/6, 2015 at 21:37

3

Solved

If one uses Bloodhound with GET: // Typeahead personsBloodhound = new Bloodhound({ datumTokenizer: function (person) { return person.name; }, queryTokenizer: Bloodhound.tokenizers.whitespace, r...
Harbot asked 8/6, 2014 at 16:57

4

Solved

I want to use prefetch and I can't have it working ! Here is my code : function initAutocompletion() { $("input[data-autocomplete-prefetch-url]").each(function () { var $this = $(this); var url...
Lederhosen asked 9/5, 2014 at 16:13

2

All, I was trying to apply Twitter typeahead and Bloodhound into my project based on some working sample, But I can't understand below code . datumTokenizer: Bloodhound.tokenizers.obj.whitespace('...
Cackle asked 28/10, 2015 at 2:16

2

By default, bloodhound.js will query via HTTP GET, but that leaves you vulnerable to JSON hijacking. Since I have sensitive information that I want to load into typeahead, HTTP GET leaves me vulner...
Chub asked 15/10, 2015 at 19:21

1

I would like to add a custom header into my bloodhound request, here is my code but it doesn't work. var datasource = new Bloodhound({ datumTokenizer: Bloodhound.tokenizers.whitespace, queryToke...
Gumm asked 29/12, 2015 at 2:45

3

Solved

I have an issue in which Typeahead simply stops working when the user federated session expires. I would like to be able to perform an action when the "remote" call for Typeahead fails. How is this...
Liatris asked 4/4, 2016 at 13:42

1

Solved

I'm trying to use typeahead for the first time. I would like to update the url parameters based on the user input. The wild card is not being translated and the value "QUERY" is being sent to the r...
Stephens asked 8/6, 2016 at 20:18

2

Solved

I am using Twitter typeahead.js 0.10.5 as a suggestion engine. It works great, with one exception, I can't sort the list of suggestions the way I want. As an example: var data =[{"id":1,"value":...
Papuan asked 30/12, 2014 at 11:2

1

Solved

I am implementing typeahead search using typeahaead.js but as type in typeahead searchbox, in suggestions dropdown each records is coming twice.I checked the datasource(that is POST api call),it ha...
Sometime asked 10/2, 2016 at 16:34

1

I'm using Typeahead.js with an implementation that looks very similar to the "multiple datasets" found in the examples: var nbaTeams = new Bloodhound({ datumTokenizer: Bloodhound.tokenizers.obj.w...
Biographer asked 29/12, 2015 at 16:30

2

Solved

UPDATE Based on the correct answer from @BenSmith (https://stackoverflow.com/users/203371/BenSmith) I was able to find my problem and found out I was not navigating through my JSON hierarchy prope...
Instill asked 3/7, 2014 at 17:41

2

Solved

I am using Typeahead.js with the bloodhound suggestion engine and would like to make the list appear as soon as the user clicks in the search box. I found this stackoverflow question (Twitter Type...
Alt asked 25/11, 2014 at 22:39

0

Recently I upgraded to typeahead to 0.11.1. After that I have started getting the error "Uncaught ReferenceError: Bloodhound is not defined". We use require js multiple javascript modules and typea...
Fendley asked 26/10, 2015 at 11:23

1

Solved

I have defined a custom template for suggestions in Bootstrap's Typeahead as mentioned below. But when I select any of the suggestions, I get only the country name in input. Since I have passed cou...
Management asked 25/7, 2015 at 10:31

2

I'm following this example for typeahead.js using Bloodhound to the T, but I'm getting a javascript error. What am I missing? HTML: (.net razor view) @Scripts.Render(Links.Scripts.typeahead_bundl...
Foil asked 21/5, 2015 at 14:59

1

Solved

My Typeahead.js / Bloodhound (0.11.1) doesn't work as expected. Out of the long list of json results provided, only some are displayed as suggestions. For example, if I type los in my field,...
Sadiron asked 21/5, 2015 at 10:1

1

Solved

So I am trying to build something using bloodhound search engine and I noticed that it has these two tokenisers, datum and query. The initializer code example given in the documentation looks lik...
Irina asked 3/5, 2015 at 1:54

1

Solved

I am using Bloodhound with a remote API and I need to transform the result returned from the remote API. The API URL is https://www.googleapis.com/books/v1/volumes?q=quilting which returns an obj...
Fear asked 27/4, 2015 at 11:55

2

I am setting up a form with Typeahead. I have two input fields next to each other, and I need an autocomplete on each of them. My HTML looks like this: <select id="numerator"> <option va...
Snodgrass asked 14/4, 2015 at 15:39

2

Hopefully this is not a duplicate of: Why does bloodhound.get() return undefined? I upgraded to typeahead.js version 0.10.0. Prior versions were returning the suggestions properly. Now I am gettin...
Univalent asked 8/2, 2014 at 17:21

3

Please see example below. JSFiddle: http://jsfiddle.net/R7UvH/2/ How do I make typeahead.js (0.10.1) search for matches in more than one property value? Ideally, within whole data (data.title, d...
Doronicum asked 18/2, 2014 at 10:21

© 2022 - 2024 — McMap. All rights reserved.