BS5 Tool Tip

Bootstrap 5 Tool Tips are not displayed with:

<button id=“btnhelp” class=“btn btn-sm btn-warning” dmx-on:click="" dmx-bs-tooltip=“Do you need help?”>

They are only displayed when I remove dmx-bs-tooltip and add:

<button id=“btnhelp” class=“btn btn-sm btn-warning” dmx-on:click="" data-bs-toggle=“tooltip” data-bs-placement=“top” title=“Do you need help?” dmx-bs-tooltip="">

Am I doing something wrong?

Did you also add a trigger?

data-bs-trigger="hover"

Nope. Previous use prior to 5 I never needed it.

So now it is needed, eh? I did finally add the BS toggle. That’s when it worked… I just never thought to use the trigger.

Thanks Mr. Soory… Duh.

1 Like