I want to have information text to be shown to the user when they hover the dropdown-items. A unique one for each dropdown. I'm using bootstrap-vue, I have a loop for the dropdown-items
<b-dropdown :text="currentColorType">
<b-dropdown-item v-for="colorType in colorTypes"
:key="colorType.id"
:value="colorType.name">{{colorType.name}}</b-dropdown-item>
</b-dropdown>
<b-popover target="id" placement="bottom" triggers="hover blur">
<div>Information Text Here</div>
</b-popover>
Is there an option to attach id dynamically to so that that can be given as target in . Tried
id="colorType.name"
id="`${colorType.name}`"
but didn't work. Also not sure if it would even be triggered even if I'm able to attach the id. Is there a better way to show info on dropdown-item hover ?