diff --git a/select2-latest.html b/select2-latest.html index 01a05034..727f5751 100644 --- a/select2-latest.html +++ b/select2-latest.html @@ -1082,6 +1082,12 @@ $(document).ready(function () { for the placeholder to work.

+ placeholderOptionfunction/string +

When attached to a select resolves the option that should be used as the placeholder. + Can either be a function which given the select element should return the optoin + element or a string first to indicate that the first option should be used.

+

This option is useful when Select2's default of using the first option only if it has no value and no text is not suitable.

+ separatorstring

Separator character or string used to delimit ids in value attribute of the multi-valued selects. diff --git a/select2-master b/select2-master index 87e62004..9a3666ed 160000 --- a/select2-master +++ b/select2-master @@ -1 +1 @@ -Subproject commit 87e62004f67179afe5809d525f957bde8acacc78 +Subproject commit 9a3666edb56339e95aaf9f2fdeb76b48030cf50a diff --git a/select2-test.html b/select2-test.html index cf6bbdb9..3d6eb707 100644 --- a/select2-test.html +++ b/select2-test.html @@ -48,8 +48,24 @@ --> + + + + +