-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Updating Vue data array items #140
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
Comments
Meant to post in FAQ. Apologies... |
This was referenced Sep 12, 2021
This was referenced Sep 30, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to update array items in a Vue data object. I have tried using v-model:
http://jsfiddle.net/obomoboe/HM9rn/1/
and have tried specifying a handler so that I can be specific about what I am assigning from/to:
http://jsfiddle.net/obomoboe/HM9rn/2/
Neither one will update
$data
. When I look in the debugger at theupdate
method, both values evaluate as I would expect them to, but it still doesn't seem to update the VM. I'm sure I've missed the point, but where?The text was updated successfully, but these errors were encountered: