Skip to content
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

Life_search Does not work with Bootstrap 4.0.0 beta 2 #10

Closed
tobilektri opened this issue Nov 26, 2017 · 1 comment
Closed

Life_search Does not work with Bootstrap 4.0.0 beta 2 #10

tobilektri opened this issue Nov 26, 2017 · 1 comment

Comments

@tobilektri
Copy link

Hey,

I tried to get the "original" Bootstrap-Select working on Bootstrap 4.0.0-beta.2 but it doesn't work. In the Issue you wrote that your repo works with Bootstrap 4, but in my Case the Live-Search does nothing.

Example: https://plnkr.co/edit/zG5BsiiZOukH7KYWgjVZ

Am I doing anything wrong?

Thanks!

@fatcrobat
Copy link
Contributor

You must use the bootstrap.bundle.js or bootstrap.bundle.min.js that is shipped with popper.js which is the new bootstrap dropdown requirement.

Next time please check your console output. :)

index.js:21 Uncaught ReferenceError: Popper is not defined
    at index.js:21
(anonymous) @ index.js:21
(index):1 Refused to execute script from 'https://raw.githubusercontent.com/heimrichhannot/bootstrap-select/master/dist/js/bootstrap-select.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
(index):73 Uncaught TypeError: $(...).selectpicker is not a function
    at HTMLDocument.<anonymous> ((index):73)
    at j (jquery.js:3148)
    at Object.fireWith [as resolveWith] (jquery.js:3260)
    at Function.ready (jquery.js:3472)
    at HTMLDocument.J (jquery.js:3503)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants