I am using Bootstrap-vue and targeted a b-modal with the <li>
like this. But it opens the modals two times with one click
<li>
<a class="dropdown-item" v-b-modal.modal-2 >Modal</a>
</li>
and Here is my modal
<b-modal id="modal-2" title="BootstrapVue">
<p class="my-4">Hello from modal!</p>
</b-modal>
and- and this component don't have v-for , and the modal is declared just once
– Aizaz Rehman Jan 02 '22 at 07:25