Enable select2 multi-select search box : <p>I need to be able to add a search box to my multi-select fields using select2.</p>

<p>For whatever reason, while search boxes appear as expected in single-select fields, the same select2() call on a multi-select field does not add a search box.</p>

<pre><code>var data = []; // Programatically-generated options array with &gt; 5 options
var placeholder = "select";
$(".mySelect").select2({
    data: data,
    placeholder: placeholder,
    allowClear: false,
    minimumResultsForSearch: 5});
</code></pre>

<p>Does select2 not support search boxes with multi-selects? Does anyone have a good similarly-functioning alternative?</p>
