snapappointments / bootstrap-select

:rocket: The jQuery plugin that brings select elements into the 21st century with intuitive multiselection, searching, and much more.
https://developer.snapappointments.com/bootstrap-select/
MIT License
9.84k stars 2.72k forks source link

loaded.bs.select is not triggered in 1.14.0-beta3 with bootstrap 5.2 #2823

Open u-hafner opened 1 year ago

u-hafner commented 1 year ago

Using bootstrap-select 1.14.0-beta3 with bootstrap 5.2

The event loaded.bs.select is not triggered. I do get show.bs.select (as a test) and I get loaded.bs.select with older bootstrap 3 but not with bootstrap 5.2

gxcplcto commented 1 year ago

In Bootstrap 5.3 I am getting this error:

Uncaught TypeError: can't access property "Constructor", $.fn.dropdown is undefined bootstrap-select.js:3133 bootstrap-select.js:3152 bootstrap-select.js:21 bootstrap-select.js:23

I am trying to implement the Live Search.

Other scripts that I am using are:

<script src="<cms:show k_site_link />assets/js/jquery-3.0.0.js"></script>
<script src="<cms:show k_site_link />assets/js/popper.js"></script>
<script src="<cms:show k_site_link />assets/js/bootstrap.js"></script>
<script src="<cms:show k_site_link />assets/js/Chart.js"></script>
<script src="<cms:show k_site_link />assets/js/bootstrap-select.js"></script>

and they are in the same sequence as mentioned above.

viperaykiri commented 1 year ago

It has now switched to Bootstrap 5.X version. The plugin needs to be updated urgently.