diff --git a/index.html b/index.html index 85e4a071..04a1ba3e 100755 --- a/index.html +++ b/index.html @@ -764,7 +764,16 @@ $("#e14_destroy").click(function() { $("#e14").select2("destroy"); });

- + 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)
+ + + + +
ParameterTypeDescription
objectobjectA choice object
<returns>stringthe id of the object
+ The default implementation expects the object to have a id property that is returned. + formatSelectionfunction Function used to render the current selection.
formatSelection(object)
diff --git a/select2-master b/select2-master index 011770a5..a6edacc5 160000 --- a/select2-master +++ b/select2-master @@ -1 +1 @@ -Subproject commit 011770a5d5572d6dd26dca2f01d6b2d0723f4733 +Subproject commit a6edacc50563db0005cf06986a31a4a2fe322f4a