You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
Another detail is that @Model('changed', { type: Array }) selectedTags!: Tag[] doesn't seem to work, its always loging the same prop mutation warning on console, but using @VModel instead fixes it, however doing this causes the drawer model one to stop working (which makes me think i'm using the decorators incorrectly...)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Are vue property decorators able to have multiple
@Model
inside a child component? (Look at the selectedTags and drawer variables)At first instance using
@Model
over the drawer boolean works, but when i declare another model...After doing this, a problem appears:
As showed, the second model gets the
Unresolved variable or type...
message.Im not pretty sure if this is a bug or if you just cant set more than one model per component, so i thank any help!
Also, my
vue-property-decorator
version is^9.1.2
in Vue 2.The text was updated successfully, but these errors were encountered: