Select2 theme does not initialize properly, documentation missing
In a similar notion to the question I asked here, https://devs.keenthemes.com/question/alert-style-does-not-initialize-according-to-documentation
I have encountered an issue where the theme for select2 dropdowns does not initialize correctly with supplied documentation
The issue here is that there is a theme selection process...
The select2 appearance in the documentation and metronic demo 1 examples uses the "bootstrap5" theme designation, but with a standard implementation of select2 as per the docs, the dropdown will adopt the "default" theme, which is substantially more ugly
The css class that controls all of this is dynamic and controlled by the JS lib, so I cannot easily "hack it".
I assume you guys have a way of forcing the theme because your implementations look correct... I am just not sure how you are doing it, it does not appear to be tag/attribute based.
I have been able to circumvent this issue by applying a custom attribute as defined in the select2 documentation
By applying data-theme='boostrap5' to the tag, you can get the desired appearance
I think that this should be highlighted in the docs and/or a more official solution be in place