-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested indexing in v-model #3673
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
🐞 bug
Something isn't working
scope: compiler
Comments
HcySunYang
added
🐞 bug
Something isn't working
scope: compiler
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
labels
Apr 26, 2021
Sociosarbis
pushed a commit
to Sociosarbis/vue-next
that referenced
this issue
Apr 27, 2021
…MemberExpression
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
🐞 bug
Something isn't working
scope: compiler
Version
3.0.11
Reproduction link
https://codepen.io/bsalwiczek/pen/zYNeLGw
Steps to reproduce
Use v-model (in the component) referring to attribute of object indexed by the item in an array. Something like
v-model="y[x[0]]"
wherey
is object andx
is array.What is expected?
I'm expecting v-model to correctly interpret which item I want to refer to (using
:model-value
with@update:model-value
works - check reproduction link).What is actually happening?
The warning shows in console
and v-model don't work as expected.
The text was updated successfully, but these errors were encountered: