From 72f848c2a08b6645de702a58d98e1142dd9ff4f3 Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Thu, 7 Jun 2012 20:16:17 -0700 Subject: [PATCH] clarification for issue 90 --- index.html | 3 +++ select2-latest.html | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 12d2f6c5..0c6c1baa 100755 --- a/index.html +++ b/index.html @@ -623,6 +623,9 @@ $("#e14_destroy").click(function() { $("#e14").select2("destroy"); }); only available when the placeholder is specified.

+

When attached to a select an option with an empty value must be provided. + This is the option that will be selected when the button is pressed since a select box requires + at least one selection option.

Also, note that this option only works with diff --git a/select2-latest.html b/select2-latest.html index 8e00d1cf..e77acb29 100755 --- a/select2-latest.html +++ b/select2-latest.html @@ -675,7 +675,9 @@ $("#e16_disable").click(function() { $("#e16,#e16_2").select2("disable"); }); only available when the placeholder is specified.

- +

When attached to a select an option with an empty value must be provided. + This is the option that will be selected when the button is pressed since a select box requires + at least one selection option.

Also, note that this option only works with non-multi-value based selects because multi-value selects always provide such a button for every