mirror of
https://gitlab.com/JKANetwork/CheckServer.git
synced 2026-02-26 23:13:47 +01:00
Start again
This commit is contained in:
22
vendors/select2/docs/_includes/examples/hide-search.html
vendored
Normal file
22
vendors/select2/docs/_includes/examples/hide-search.html
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
<section>
|
||||
|
||||
<h1 id="hide-search">Hiding the search box</h1>
|
||||
|
||||
<p>
|
||||
Select2 allows you to hide the search box depending on the number of
|
||||
options which are displayed. In this example, we use the value
|
||||
<code>Infinity</code> to tell Select2 to never display the search box.
|
||||
</p>
|
||||
|
||||
<div class="s2-example">
|
||||
<p>
|
||||
<select class="js-example-basic-hide-search js-states form-control"></select>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{% highlight js linenos %}
|
||||
$(".js-example-basic-hide-search").select2({
|
||||
minimumResultsForSearch: Infinity
|
||||
});
|
||||
{% endhighlight %}
|
||||
</section>
|
||||
Reference in New Issue
Block a user