Opening one modal from another one and share ref variable beetween them #40866
Unanswered
emelyanovkr
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm opening first modal with the button as usual, then I want to open another modal like confirmation window, and when I do it with calling
.show()function and changingz-index, it's opening successfully, however, this two modals doesn't shareeventIdToDeletevalue. What I mean by that, is that I'm changing value of this variable in one function. When calling another modal and this variable havenullvalue, but it should have a proper value it was set too. Like I didn't even called the first modal.My main purpose is to get confirmation from user to delete event, that why I am calling another modal to open up.
However, I am looking for other methods to get confirmation
My parent component
EventCard.vue:Child component -
EventInfoModal.vueBeta Was this translation helpful? Give feedback.
All reactions