From 29576e96c10d9f8f9a8186a19da569319e0140f7 Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Wed, 28 Mar 2012 15:22:14 -0700 Subject: [PATCH] doc minimumResultsForSearch option --- index.html | 10 ++++++++++ select2-master | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 4c4a3a8a..279edf15 100755 --- a/index.html +++ b/index.html @@ -554,6 +554,16 @@ $("#e10_3").select2({ ParameterTypeDescription minimumInputLengthintNumber of characters necessary to start a search + minimumResultsForSearchint +

+ 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. +

+

Only applies to single-value select boxes

+ + placeholderobject/string

Initial value that is selected if no other selection is made.

diff --git a/select2-master b/select2-master index d7f0c0a8..1ab192ac 160000 --- a/select2-master +++ b/select2-master @@ -1 +1 @@ -Subproject commit d7f0c0a8b1a02542db22b3c4e8f7735b4620155b +Subproject commit 1ab192ac7b41e61b1f9bea0e1673a230ecfe04e8