diff --git a/select2-latest.html b/select2-latest.html
index e2309c9e..6c1cab05 100644
--- a/select2-latest.html
+++ b/select2-latest.html
@@ -1395,6 +1395,26 @@ format(item) {
must be taken to sanitize the id
attribute of the choice object, especially stripping
,
as it is used as a value separator.
createSearchChoice
. The following values are supported:
+ A custom function. For example if you want to insert the new item in the second position:
++$("#tags").select2({ + ... + createSearchChoice: function(term) { ... }, + createSearchChoicePosition: function(list, item) { + list.splice(1, 0, item); + } +}); ++