diff --git a/select2-latest.html b/select2-latest.html index 0b1bb87f..e6dc8542 100755 --- a/select2-latest.html +++ b/select2-latest.html @@ -642,11 +642,11 @@ $("#e11_2")
- +

Tagging Support

@@ -662,7 +662,31 @@ $("#e12").select2({tags:["red", "green", "blue"]});
+
+ +
+

Auto Tokenization

+

Select2 supports ability to add choices automatically as the user is typing into the search field. + This is especially convenient in the tagging usecase where the user can quickly enter a number of tags + by separating them with a comma or a space. Try typing in the search field below and entering a space or a comma

+ +

+

Note that the separators are defined in the tokenSeparators option

+

Note that this example uses the built in tokenizer function, but a custom one can be provided in the options.

+
+
+

Example Code

+
+           
+
+