select2-multi-checkboxes icon indicating copy to clipboard operation
select2-multi-checkboxes copied to clipboard

Send options in templateSelection

Open Grafikart opened this issue 8 years ago • 0 comments

With the current version it's not possible to retrieve the label. I wanted to present results using a coma separated list.

  templateSelection: function (selected) {
    return selected.map(function (i, option) {
      return option.innerText
    }).get().join(', ')
  }

Grafikart avatar Nov 08 '17 11:11 Grafikart