diff --git a/select2-latest.html b/select2-latest.html index 5aa11530..09afb6a6 100755 --- a/select2-latest.html +++ b/select2-latest.html @@ -843,6 +843,52 @@ $("#e18,#e18_2").select2(); +
+ +
+

Lock selections

+

+ In the event that you need to lock certain selections so that they can't be removed by the select2 interface, you can now pass in locked: true with your data. Please note: This also works for incoming values from ajax. +

+

+ +

+
+
+

Example Code

+
+        
+
+
diff --git a/select2-master b/select2-master index 26a3d534..4a363c4b 160000 --- a/select2-master +++ b/select2-master @@ -1 +1 @@ -Subproject commit 26a3d5342be488868d96db3d03823777178a709b +Subproject commit 4a363c4b3018a0508064e4eaf81b167ddfabe760