select2-bootstrap4-theme icon indicating copy to clipboard operation
select2-bootstrap4-theme copied to clipboard

Select2 Multiple Tagging Support

Open dendihandian opened this issue 4 years ago • 2 comments

Is this theme support for select2 multiple tagging?

The default style is like this: image

But when I applied the theme:

$('.tagging').select2({theme: 'bootstrap4', tags: true});

The style is ugly:

image

Is there any instruction for this or it's not available?

dendihandian avatar Jul 05 '21 05:07 dendihandian

This seems to be a compatibility issue with the latest Select2 version. In Select2 4.1.0 breaking changes were introduced to HTML/CSS which cause this. If you change the version of Select2 you are using to 4.0.13 (the latest version not causing this problem) it should work as expected.

TomislavBabic avatar Jul 16 '21 17:07 TomislavBabic

Just a suggestion, it would be awesome to add this compatibility issue on the readme as long as this issue stays open.

relu91 avatar Nov 15 '21 09:11 relu91