title: Select2 - limit number of options
body: <p>I am using select2 </p>
  
  <blockquote>
    <p>select2.github.io</p>
  </blockquote>
  
  <p>As of now i am fetching option values from db and successfully i can see the options in the dropdown which on typing gets filtered.</p>
  
  <p><strong><em>Expected:</em></strong></p>
  
  <p>In case if my db have 1000's of option values i don't want to list all in dropdown. </p>
  
  <p>So is it possible to either</p>
  
  <ul>
  <li>Limit the dropdown option to some number say 20 but the type search filter should filter from the whole db</li>
  </ul>
  
  <p>(or)</p>
  
  <ul>
  <li>Hide the dropdown initially and when i type the filtered value will come as usual</li>
  </ul>
  
  <p>if so kindly guide me on how to ?</p>