Uh oh!
There was an error while loading. Please reload this page.
Bootstrap 4 theme - #72
Conversation
Yay, this is great! 🎉 🎉 🎉 Unfortunately I won't have time to review this PR until at least next week – super busy :-( @select2/core @select2/design Maybe we should think about creating a new repository for the BS4 version, anyway? The old version still has a few visitors/views here on GitHub; haven't checked NPM numbers yet. I haven't thought about a monorepo much, either. |
angel-vladov
commented
Nov 23, 2017
I need the Bootstrap 3 theme for legacy projects I'm working on. I doubt it's just me. It will be quite an unpleasant surprise running We should definitely have the Bootstrap 3 theme working in the foreseeable future. New repo, another branch or major version change will all work. |
angel-vladov
commented
Nov 28, 2017
@adriandelcl - I have no idea what you mean. Can you please provide more context and where the new styles are different from the original BS3 theme so I can fix the issue? |
OLTrustNo1
commented
Nov 28, 2017
@angel-vladov Thank you so much for this PR!!!! What @adriandelcl is saying is that on you test site (https://angel-vladov.github.io/select2-bootstrap-theme/4.0.3.html) all data displayed in the drop down list is right aligned: |
angel-vladov
commented
Nov 28, 2017
Thanks for testing guys! Issue is fixed. |
tbelliard
commented
Dec 4, 2017
Thanks a lot for your work on this! |
angel-vladov
commented
Dec 4, 2017
Interesting. Perhaps I should change it to use the |
tbelliard
commented
Dec 4, 2017
Based on the way it's used in bootstrap, the mixin definitely looks like the way to go :-) |
the page at the original link still lists Bootstrap 3. I've used the correct URL now.
updated examples url in readme
fsasvari
commented
Dec 21, 2017
When can we expect the release of bootstrap v4 beta theme ? |
angel-vladov
commented
Jan 3, 2018
NOTE: There is Bootstrap 4 beta-3. I haven't tested my changes with it yet. Let me know if you see any issues. |
florianlacreuse
commented
Jan 19, 2018
@angel-vladov Bootstrap 4 is now officialy released (stable version): https://blog.getbootstrap.com/2018/01/18/bootstrap-4/ Can we expect any updates from your side for this PR? Thanks you for your work! |
angel-vladov
commented
Jan 19, 2018
My plan is to work on this during the weekend. The PR will be updated in a day or two. |
florianajir
commented
May 23, 2019
Can we merge it ? |
Update master
Change filepath to import with ~
bootstrap imports using tilde
aparakian
commented
Oct 7, 2020
Do you think this could be merged? Are the owners aware of this? |
dereuromark
commented
Oct 26, 2020
I am also curious about the status for BS4. |
florianlacreuse
commented
Dec 18, 2020
The last release was made 3+ years ago, this PR is 3 years-old, I consider this project dead. In addition, Bootstrap 5 will be released soon (currently in beta). In our team we use the fork made by @angel-vladov (PR's author): https://github.com/angel-vladov/select2-theme-bootstrap4 |
angel-vladov
commented
Feb 13, 2022
I've created a Bootstrap 5 version You can find the select2 bs5 theme here This is a |

This PR includes all the suggestions from Issue #60 and examples updates.
package.jsondependencies are updateddocsfolder are updated to use Bootstrap 4READMEcompatibility section. Bootstrap 4 doesn't support them.Bootstrap 4 does support IE 10 with issues. I haven't tested the theme in it.
You can check the example page here.