Typeahead.js - Search in multiple property values
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 , data.desc and in all data.category[i].name ) datumTokenizer: function(data) { // **search in other property values; e.g. data.title & data.desc etc..** return Bloodhound.tokenizers.whitespace(data.title); }, Whole example: var data = [{ title: "some title here", desc: "some option here", category: [{ name: "category 1", }, { name: "categoy 2", }] }, { title: "some title here", desc: "some option here",