-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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.2.3 and bootstrap-select beta3 programmatically issue #2830
Comments
same issue. |
Hello everybody,
NOTE: I have used the separator ' | ' but you can change it with a comma this is the link to the file, I hope it will be useful for you https://gist.github.com/mattymatty76/c996d3b77f298b2ec133be59992df9d4 |
I haven't tested your modified version heavily yet but so far, it seems to solve serious issues in beta2 and beta3 |
It's a pleasure to know that it is useful for you |
@mattymatty76 did you have to do anything for the CSS? The provided CSS from this library doesn't work at all for me: |
@mhenrixon |
This was me having to restart esbuild on every change. Will switch to Vite instead. Esbuild seem backward to me. |
same issue |
In bootstrap 5 when you load programmatically an item (or a list of items) with
$("#select1").selectpicker('refresh');
$("#select1").selectpicker('val', item);
and you try again to reload it more times, the select shows the same object/item a lot of times, while the select should show item just one time because it's the same object.
In the last bootstrap-select with bootstrap 4 works very well as I described, maybe it's a bug.
I would like to say that another issue is when you use programmatically this code
$("#select1").selectpicker('render');
in that case when you try to load an item, the select does nothing...
Thank you very much for the library: one of the best...
The text was updated successfully, but these errors were encountered: