javascript - Typeahead.js transport stop firing after a while -
I'm using Typeahead.js v0.10.4 with the Bloodhound remote option. It works as I had hoped for a while but killed many backspace and stopped all the functionality again. I've done a little test for this:
var bhOptions = {datumTokenizer: Bloodhound.tokenizers.obj.whitespace ('value'), queryToToken: Bloodhound.tokenizers.whitespace, Remote: {url : '% QUERY', transport: function (url, o, onSuccess, onError) {$ ('# console'). Prepaid (url + "\ n"); }}}; Var saSearch = new bloodhound (bHoptions); SaSearch.initialize (); $ ('#Search'). TypeHead ({}, {source: saSearch.ttAdapter ()});
Any thoughts that I am doing wrong? I tried to play with the rate range but it did not help.
I got a similar problem for the record but my problem was not solved:
Comments
Post a Comment