1
0
mirror of synced 2025-02-09 16:49:24 +03:00

doc minimumResultsForSearch option

This commit is contained in:
Igor Vaynberg 2012-03-28 15:22:14 -07:00
parent 4b6920d389
commit 29576e96c1
2 changed files with 11 additions and 1 deletions

View File

@ -554,6 +554,16 @@ $("#e10_3").select2({
<th>Parameter</th><th>Type</th><th>Description</th>
</tr>
<tr><td>minimumInputLength</td><td>int</td><td>Number of characters necessary to start a search</td></tr>
<tr><td>minimumResultsForSearch</td><td>int</td><td>
<p>
The minimum number of results that must be initially (after opening the dropdown for the first time)
populated in order to keep the search field. This
is useful for cases where local data is used with just a few results, in which case the search box
is not very useful and wastes screen space.
</p>
<p class="alert alert-info">Only applies to single-value select boxes</p>
</td>
</tr>
<tr><td>placeholder</td><td>object/string</td><td>
<p>Initial value that is selected if no other selection is made.</p>
<p>

@ -1 +1 @@
Subproject commit d7f0c0a8b1a02542db22b3c4e8f7735b4620155b
Subproject commit 1ab192ac7b41e61b1f9bea0e1673a230ecfe04e8