diff --git a/index.html b/index.html index f5d39a92..4b99c4fa 100755 --- a/index.html +++ b/index.html @@ -875,6 +875,7 @@ $("#e18,#e18_2").select2(); only available when the placeholder is specified.

+

This option only works 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.

diff --git a/select2-latest.html b/select2-latest.html index e6dc8542..53b23b27 100755 --- a/select2-latest.html +++ b/select2-latest.html @@ -922,6 +922,7 @@ $("#e18,#e18_2").select2(); only available when the placeholder is specified.

+

This option only works 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.

@@ -957,6 +958,15 @@ $("#e18,#e18_2").select2();

+ + openOnEnter + boolean + +

+ If set to true the dropdown is opened when the user presses the enter key and Select2 is closed. By default this option is enabled. +

+ + idfunction Function used to get the id from the choice object or a string representing the key under which the id is stored.
id(object)
diff --git a/select2-master b/select2-master index 289226cf..816af442 160000 --- a/select2-master +++ b/select2-master @@ -1 +1 @@ -Subproject commit 289226cf6c925d7702336a5887a642750a016b58 +Subproject commit 816af4425b5dd867dd8378a96c107759054e5e49