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
-
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 shareeventIdToDelete
value. What I mean by that, is that I'm changing value of this variable in one function. When calling another modal and this variable havenull
value, 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.vue
Beta Was this translation helpful? Give feedback.
All reactions