diff --git a/docs/examples.html b/docs/examples.html index 67520484..6758eb77 100644 --- a/docs/examples.html +++ b/docs/examples.html @@ -170,7 +170,9 @@ $(".js-example-data-array-selected").select2({
- +
@@ -543,7 +545,7 @@ $.fn.select2.amd.require( return markup; }, templateSelection: function (repo) { - return repo.full_name; + return repo.full_name || repo.text; } });