modal is not shown up when convert to vue 3 #10569
Unanswered
sonhoangnz
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using vue latest version 3.4.21 and tried to convert a modal from vue2. My codes have:
main.js as:
and a template with a modal in it, and modelValue is assigned to "myModalOpen"
there is a link to open up the modal:
However, when I click on the link MAWB above, the popup is not shown
Using Vue development tools, I could see that there is a warning: update:modelvalue:⚠️ Not declared (as the attached image) with the details:
_"the event update:modelvalue is not declared in emits option" _
Could you please help
Beta Was this translation helpful? Give feedback.
All reactions