vue-js-modal icon indicating copy to clipboard operation
vue-js-modal copied to clipboard

Cant open mutiple v-dialog

Open NoChizPlz opened this issue 3 years ago • 2 comments

Problem:

The problem is you can only use one v-dialog, since calling dialog is by this.$modal.show("dialog") i want to show another dialog after showing and hiding a dialog

I have checked stackoverflow for solutions and 100% sure that this issue is not not related to my code.

NoChizPlz avatar Aug 13 '21 04:08 NoChizPlz

Try assigning different names to the dialog and then calling this.$modal.show("name") with the respective name.

begoski avatar Aug 17 '21 12:08 begoski

I noticed the same problem starting with version 2.0.0, while opening multiple dialogs (using the v-dialog component) worked fine in 1.3.34. I was able to create a workaround by copying the implementation of the v-dialog component and assigning it a different id. The downside is that I have to remember to always call those two modals in an alternating order.

DrMarkEy avatar Dec 30 '21 08:12 DrMarkEy