Closed kevin-olbrich closed 3 years ago
$.fn.select2.defaults.set("theme", "bootstrap-5");
$.fn.select2.defaults.set("theme", "bootstrap-5");
Did you get it to work with this?
$.fn.select2.defaults.set("theme", "bootstrap-5");
Did you get it to work with this?
Yes, works perfectly.
Hi!
I like to use this: https://www.npmjs.com/package/select2-bootstrap-5-theme
How can I set "theme" in the select fields? When using this:
... I break the other options, the plugin alrady sets on the select.
How can I set this?