Uncaught TypeError: Cannot read property 'Constructor' of undefined
When I upgraded from 1.13.12 to the 1.13.14 version, some errors occurred: “Uncaught TypeError: Cannot read property 'Constructor' of undefined”
I found there is new code in 1.13.14: // get Bootstrap's keydown event handler for either Bootstrap 4 or Bootstrap 3 var bootstrapKeydown = $.fn.dropdown.Constructor._dataApiKeydownHandler || $.fn.dropdown.Constructor.prototype.keydown;
Please help me, how to solve this problem? thank you very much!
Bootstrap version 4.3.1
JQuery version 3.4.1
Bootstrap-Select version 1.13.14
OS: Windows 10, macOS
Released in v1.13.15!
using 1.13.18 facing the same issue 👎
Error still occuring.
Just downloaded the last release and the error is still there. Fixed by put the js link at the bottom of the page.
Its caused by bootstrap js(with draggable js) loading after bootstrap-select js
Try include the bootstrap js script (as what I've used from here for bootstrap v4.6). Or use the respective versions that come with the boostrap css's version.
I tried including the bootstrap script and the issue is fixed.
Try to use bootstrap 4.6.0 and try to load bootstrap base files before SELECT plugin js and CSS files.
I'm using Bootstrap 5.1 and loading it before the select plugin. Still, got that issue... any solution?
I managed to fix that after taking the exact version as in here
I managed to fix that after taking the exact version as in here
damn 2022 and this is still the solution
I managed to fix that after taking the exact version as in here
Excelent!! Working here with Bootstrap 5.20
I managed to fix that after taking the exact version as in here
Thanks very much for your answer, i spent roughly a couple of hours looking for a good cdn solution
I can confirm this is fixed by latest bootstrap-select beta2 or beta3 https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap-select.min.js
I can confirm this is fixed by latest bootstrap-select beta2 or beta3 https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap-select.min.js
its works, thanks!!
It's working, thanks
I can confirm this is fixed by latest bootstrap-select beta2 or beta3 https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap-select.min.js
Thks