Bootstrap-3-Typeahead icon indicating copy to clipboard operation
Bootstrap-3-Typeahead copied to clipboard

bug with remote source

Open vstruchkov opened this issue 7 years ago • 0 comments

I use this code

var languagesSource = new Bloodhound( { datumTokenizer: function (datum) { return Bloodhound.tokenizers.whitespace(datum.value); }, queryTokenizer: Bloodhound.tokenizers.whitespace, remote: { url: "http://localhost/languages.php?PHPSESSID=4qjiv6gchdp4n8uk7gpvt7ghue&format=json&language=%QUERY", wildcard: '%QUERY', } }); languagesSource.initialize(); $('#languages').typeahead( { highlight: true, minLength: 2, }, { displayKey: 'value', source: languagesSource.ttAdapter() }).focus();

This code work fine with this js-files

I see some result without bootstrap3 support After adding to head section this string

vstruchkov avatar Aug 26 '17 17:08 vstruchkov