Hi
I want to use the https://getbootstrap.com/docs/5.2/components/tooltips/
But when I use it, it gives me an error and says that Bootstrap is unknown
But I use the other features of Bootstrap in the XML file and there is no problem
How can I use the Bootstrap tooltip feature in odoo 16?
Thanks
js file:
const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]') const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl))
in console show: bootstrap is not defined !!!!
xml file:
after posting remove my code !!
I use the same simple examples from the Bootstrap site
When I try without a JS file and there is only an XML file
Tooltips are displayed, but they do not have the styles that are in Bootstrap website