title: Using Select2's createSearchChoice function
body: <p>I'm trying to use the createSearchChoice function to allow users to enter their own choice when the default list won't suffice.  When I try to use this function on a <code>&lt;select&gt;</code> element, I get the following error:</p>
  
  <p><code>Error: Error: Option 'createSearchChoice' is not allowed for Select2 when attached to a &lt;select&gt; element.</code></p>
  
  <p>I tried using an <code>&lt;input type='hidden'&gt;</code> element instead, but now get the following error:</p>
  
  <p><code>Error: uncaught exception: query function not defined for Select2 'MyInputName'</code></p>
  
  <p>I'd prefer to use the select element to stay in line with existing code (need the ability to select multiple options), but just need the ability for users to input their own option in addition to selecting from a prior list.</p>