Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap 5 theme incoming any time soon? #66

Open
martinbarilik opened this issue Jan 29, 2021 · 8 comments
Open

Bootstrap 5 theme incoming any time soon? #66

martinbarilik opened this issue Jan 29, 2021 · 8 comments

Comments

@martinbarilik
Copy link

Hi there, i am rewriting the an old web app. I want it to be the latest at everyting, today i changed bootstrap 4 to bootstrap 5 and using select, some theme is messy.

Can we expect bootstrap 5 theme any time soon ?

tagliala added a commit to tagliala/select2-bootstrap4-theme that referenced this issue Mar 14, 2021
@tagliala
Copy link
Contributor

Hi,

You can find a Bootstrap 5 compatible theme here: https://github.com/tagliala/select2-bootstrap4-theme/tree/feature/bootstrap-5

It is based on my work done on #67, so it requires Select2 4.1

(and don't upgrade jQuery to 3.6.0, as per select2/select2#5993)

image

image

tagliala added a commit to tagliala/select2-bootstrap4-theme that referenced this issue Mar 14, 2021
tagliala added a commit to tagliala/select2-bootstrap4-theme that referenced this issue Mar 14, 2021
@martinbarilik
Copy link
Author

martinbarilik commented Mar 14, 2021

Even tho it is compatible with BS5, it does not support bootstrap's form-control-sm classes ( small selectboxes ). More here.

@tagliala
Copy link
Contributor

it does not support bootstrap's form-control-sm classes ( small selectboxes ).

Yes, this theme does not support small controls neither in BS4. Ref: #40

@tagliala
Copy link
Contributor

@martinbarilik just saw this in the Select2 repo: https://github.com/apalfrey/select2-bootstrap-5-theme

Demo doesn't work, but it looks like a complete theme with support for small and large classes

@martinbarilik
Copy link
Author

martinbarilik commented Mar 15, 2021

Holy Molly, it's recent. Thanks, last i checked it wasn't any ( 2 weeks ago ).

@MarcPinnell
Copy link

@tagliala - Were you able to make that BS5 theme work for the small dropdown size?

@tagliala
Copy link
Contributor

tagliala commented Nov 4, 2021

@MarcPinnell please take a look at https://apalfrey.github.io/select2-bootstrap-5-theme/

@MarcPinnell
Copy link

I was never able to get that working. I did find a BS4 theme that I managed to get working yesterday. Not ideal, but it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants