Bootstrap JS not working 100%

hello,

can someone tell me why some features, like offcanvas or native client server Bootstrap validation are not working?
same with, i.e. for switches which are not displayed as they should…

main.js

// Import everything from autoload
import './autoload/**/*'

autoload:
_bootstrap.js --> import 'bootstrap';

any hint? :frowning:

You have to enable it using data-attributes or manually initialization in JavaScript: https://getbootstrap.com/docs/5.0/components/offcanvas/#via-data-attributes
Have you done this?

yes, added to single.js file, but looks broken…

figured it out… I am under 4.60, not 5.0

This topic was automatically closed after 42 days. New replies are no longer allowed.