title: How to filter/query a FilteringSelect in Dojo
body: <p>I'm trying to change the query of a filtering select's data store, such that the dropdown only displays the values that were queried with a query such as this (note that I can't even get it to work with a non-regex query):</p>
  
  <pre><code>var query = {
      id: new RegExp("^(1|12)$")
  };
  </code></pre>
  
  <p>See this <a href="http://jsfiddle.net/pohpgaLL/70/" rel="nofollow noreferrer">JSFiddle</a>.</p>
  
  <p>Note that I do not want to <code>fetch</code> the result set using</p>
  
  <pre><code>dropdown.store.fetch({query: query, onComplete: function(results) {} });
  </code></pre>
  
  <p>I want the results to filter <strong>in the dropdown</strong>.</p>
  
  <p>Despite viewing <a href="https://stackoverflow.com/questions/12110959/dojo-filtering-select-regexp-query">this</a> and several other related questions, I haven't been able to get a solution that works for a FilteringSelect as I intend. Any help is appreciated.</p>