From cd3a70e551eefb9da70758dc488c687bccc4362d Mon Sep 17 00:00:00 2001 From: Patrick Filler Date: Fri, 29 Jul 2011 11:30:47 -0400 Subject: [PATCH] Updating docs to show blank option requirement in single selects. --- example.html | 2 ++ example.jquery.html | 2 ++ 2 files changed, 4 insertions(+) diff --git a/example.html b/example.html index 225d170..8ed8fac 100644 --- a/example.html +++ b/example.html @@ -59,6 +59,7 @@
Turns This + @@ -1205,6 +1206,7 @@

Chosen automatically sets the default field text ("Choose a country...") by reading the select element's data-placeholder value. If no data-placeholder value is present, it will default to "Select Some Option" or "Select Some Options" depending on whether the select is single or multiple. You can change these elements in the plugin js file as you see fit.

<select data-placehoder="Choose a country..." style="width:350px;" multiple class="chzn-select"> +

Note: on single selects, the first element is assumed to be selected by the browser. To take advantage of the default text support, you will need to include a blank option as the first element of your select list.

Change / Update Events