Skip to content

Instantly share code, notes, and snippets.

View gist:b3b9c60b6654759b1766
$(function() {
$("#app").select2({
ajax: {
url: "/dashboard/api/1/apps",
dataType: 'json',
delay: 250,
// the first parameter passed into this
// function is a direct reference to the "term" from the select2
// search box so you don't need to add params.term.
data: function (params) {
You can’t perform that action at this time.