Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

bootstrap.min.js:6 Uncaught TypeError: n is not a constructor returning when I click on the dropdown button

I have multiple dropdown menus in my page. Located inside the nav works fine, but the inside of the page does not work

Located inside the nav

enter image description here

inside of the page

enter image description here

enter image description here

what is the problem? Thank you.

like image 680
starlings Avatar asked Jul 11 '20 12:07

starlings


1 Answers

Bootstrap is not yet compatible with Popper.js version 2, see https://github.com/snapappointments/bootstrap-select/issues/2385#issuecomment-579892665.

The bundle works because it bundles the right version of Popper, see https://getbootstrap.com/docs/4.5/getting-started/introduction/.

like image 81
ben3000 Avatar answered Oct 18 '22 01:10

ben3000