-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
it works very well (bootstrap-select-v1.14.0-beta3-updated and bootstrap 5.3.0) #2837
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
Comments
Thanks! I am really trying to get it to work with Bootstrap 5 as well as it did in v4, since it's the best dropdown select plugin out there. I am getting trouble getting the list to build on page load (it only builds after clicking on the dropdown once). Have you managed to get that working? Thanks for keeping this project alive. |
You are welcome
|
I've looked everywhere for that but couldn't find it! Thanks! Is there a way to toggle and have the li tags, but prevent it from actually open the dropdown? Thanks @mattymatty76 for your help! |
Yes you can toggle two times, and the select will open and close immediately its dropdown-menu... |
Hi there! Could you help me to implement bootstrap-select in vite laravel? I have tried with bootstarp 5.3 and the original plugin 1.14.0-beta3. If o use the one you modified it Will work? Thanks! |
@mattymatty76 it appears that snippet.host is offline. Can you share the code as a GitHub gist? |
@mattymatty76 are you able to render the placeholder text properly? |
you can try with this, now the link works https://gist.github.com/mattymatty76/c996d3b77f298b2ec133be59992df9d4 about that code in GitHub, I should create a fork of this project and put the library that I have modified in that link... but I don't know if it can help or confuse people |
maybe I don't know but you can try... https://gist.github.com/mattymatty76/c996d3b77f298b2ec133be59992df9d4 |
@mattymatty76 make a fork for this. I have a problem, also with the original one. The "required" HTML5 tag not showing the message if the select is inside a "row" of Bootstrap 5. Can you solve it? Thanks |
Hi @g-pane, Thank you, m. |
If i remove "row gy-3 px-4 py-3 row-cols-1 row-cols-sm-2 row-cols-md-4 row-cols-lg-8" i see the message again. |
try this now it works
|
Not for me, i don't see the message. Only the focus on the button (p.s. submit button missing from the code, just for give you an idea) |
you can bypass the issue trying a jquery.validate.js library and redefine more or less this code to adapt to your case...
|
this example works, I have just tested it |
Confirming this version works better with Bootstrap 5.3.0 |
could anyone provide me the corresponding bootstrap-select css? Im facing below issue. Wen I click on dropdown , its coming very close to the left margin and after a microsecond it alligns correctly |
Has anyone gotten this to work with Bootstrap's floating select? https://getbootstrap.com/docs/5.3/forms/floating-labels/#selects |
Hi @krishnarajsj, |
Hi @hasanmk52, regarding the slowness when you open menu, if the items are a lot you should use ajax select because there is a physical limit in loading elements due to memory saturation... but before doing anything else, try to set this param in bootstrap-select(v1.14.0-gamma1).js |
Yes I did use the same CSS file and have also tried adjusting the virtualScroll and still facing both the issues. As for the slowness I have around 50k elements and when I click the dropdown it takes up-to 2 secs to open it. |
@hasanmk52 In addition you can also try to trick it in this way: as soon as you create it, simulate in javascript a trigger that instantly opens and closes the menu: this should act as a sort of initialization of the menu rendering... For the css try to do a bit of debugging because in my opinion you could have some css overlap: I tried to simulate a multi-selection menu and I had no problems with the check icons on the selected rows |
I have modified the file bootstrap-select-v1.14.0-beta3
and looks like working very well with bootstrap 5.3.0, I published the source code here
https://gist.github.com/mattymatty76/c996d3b77f298b2ec133be59992df9d4
I hope this is helpful
Thank you
The text was updated successfully, but these errors were encountered: