select2/select2-bootstrap-theme

clear button style with multiple is absent

Alxdhere opened this issue · 2 comments

There are not css for select2-selection__clear with multiple=true (select2-selection--multiple). Clear button render after inline input, but not at right side of select2 control.
Screenshot

fk commented

Not closed yet because of this issue:

select2-clear

fk commented

Closing as this as

  • the original issue has been fixed
  • the bug that came up while solving the original issue (that is unrelated to the latter and shown in the GIF in my previous comment ("Select2 multi append Radiobutton")) is tracked in select2/select2#4367
  • the bug is easily avoided by not providing an empty <option></option> for multi Select2 widgets (contrary to single Select2, where the placeholder feature requires an empty <option></option>)
  • http://codepen.io/fk/pen/bepgOw provides an isolated, working example
  • the select2-bootstrap-theme demo will be updated to remove the conflicting <option></option> for the "Select2 multi append Radiobutton" Select2.