Fired when query function is done loading the data and the results list has been updated
+
+
The event object contains the following custom properties:
+
+
data
data that was used to populate the results
+
+
+
+
+
diff --git a/select2-master b/select2-master
index fb158ed0..9acfc6fa 160000
--- a/select2-master
+++ b/select2-master
@@ -1 +1 @@
-Subproject commit fb158ed0c87bc0936d1fa43d88cf89cafa6bf845
+Subproject commit 9acfc6faa5448730cb5e82f2277b80080df3d7f5
diff --git a/select2-test.html b/select2-test.html
index 1e47e609..9c537441 100644
--- a/select2-test.html
+++ b/select2-test.html
@@ -20,6 +20,7 @@
+
@@ -95,7 +97,7 @@
$("#e6").select2({
placeholder: "Search for a movie",
minimumInputLength: 1,
- multiple:true,
+ multiple:false,
ajax: { // instead of writing the function to execute the request we use Select2's convenient helper
url: "http://api.rottentomatoes.com/api/public/v1.0/movies.json",
dataType: 'jsonp',
@@ -128,6 +130,7 @@
formatResult: movieFormatResult, // omitted for brevity, see the source of this page
formatSelection: movieFormatSelection, // omitted for brevity, see the source of this page
dropdownCssClass: "bigdrop", // apply css that makes the dropdown taller
+ formatSearching: function() {return "Searching...";},
escapeMarkup: function (m) { return m; } // we do not want to escape markup since we are displaying html in results
});
});