5 months ago

vue-js modal opens the both modals at the same time

Posted 5 months ago by successdav

Hi. I am using a plugin vue-js modal

I setup a modal like so

        <a @click="$'test')">BUTTONS</a>

        <modal name="test" height="auto" draggable=".window-header">
            <div class="window-header">DRAG ME HERE</div>

    export default {

Now when I place the button to launch the modal two on same page

    <p>another button here</p>

clicking on one of the buttons launch the modal twice, its like the two buttons are firing at thesame time. but I really want only one modal launched

how do I fix this.. thanks..

Please sign in or create an account to participate in this conversation.