dynamic mount component with modelValue #6937
Unanswered
ustraframework
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I work my project with Vue3 and Nuxt3 then made dynamic mount function.
the mount function is mount component instance from component type, props and el.
And then create api as below.
useApprovalCommentPopup functions is mount component using mount function.
The showPopup variable's initial value is true, component mounted and show popup.
But popup is not close, when click close button.
When component mount using template tag, everything is okay.
What happen? Anyone knows a solution..?
I think modelValue is updated when "onUpdate:modelValue" prop, mounted component can't know updating value.
Beta Was this translation helpful? Give feedback.
All reactions