We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5535f07 commit d306fcfCopy full SHA for d306fcf
1 file changed
docs/examples.html
@@ -170,7 +170,9 @@ <h1>Loading remote data</h1>
170
</p>
171
172
<p>
173
- <select class="js-example-data-ajax form-control"></select>
+ <select class="js-example-data-ajax form-control">
174
+ <option value="ivaynberg/select2" selected="selected">ivaynberg/select2</option>
175
+ </select>
176
177
178
<pre data-fill-from=".js-code-data-ajax"></pre>
@@ -543,7 +545,7 @@ <h2>Example code</h2>
543
545
return markup;
544
546
},
547
templateSelection: function (repo) {
- return repo.full_name;
548
+ return repo.full_name || repo.text;
549
}
550
});
551
0 commit comments