title: jQuery autocomplete (devbridge) lookupFilter to search multiple attributes
body: <p>I have below code-</p>
  
  <pre><code>$(function() {
  
  var fruits = [
     { value: 'Apple',id: '123',  data: 'Apple' },
     { value: 'Pear', id: '543',   data: 'Pear' },
     { value: 'Carrot', id: '123', data: 'Carrot' },
     { value: 'Cherry', id: '234', data: 'Cherry' },
     { value: 'Banana', id: '543', data: 'Banana' },
     { value: 'Radish', id: '3423', data: 'Radish' }
  ];
  
    $("#autocomplete").autocomplete({
          lookup: fruits,
          onSelect: function (suggestion) {
            alert('You selected: ' + suggestion.value + ', ' + suggestion.data);
          },
    });
  });
  </code></pre>
  
  <p>I want to do search based on 'value' and 'id' both. There is lookupFilter function but i dont know how to use it. Here is original script - <a href="https://www.devbridge.com/sourcery/components/jquery-autocomplete/" rel="nofollow noreferrer">https://www.devbridge.com/sourcery/components/jquery-autocomplete/</a>
  and Here is something similer question - <a href="https://stackoverflow.com/questions/27313580/jquery-autocomplete-devbridge-search-from-beginning">jQuery autocomplete (devbridge) search from beginning</a>
  <br>
  Help please!</p>