2.0.0-rc.2
https://jsfiddle.net/6nc0cwby/2/
Input any characters to text field.
The values in the list are not updated.
The values in the list are updated.
On v1.0.26, it works as expected.
https://jsfiddle.net/6nc0cwby/3/
Quick work around: use object instead of primitive values for v-model
https://jsfiddle.net/fnlCtrl/pm30y8rq/
By the way, using v-model on primitive values inside an array looks weird to me... and I'm really surprised that it worked in 1.0.
@fnlctrl
Thanks for filling information! Actually I think weird to use v-model to the primitive value in the array too.
But in v2.0, we can use v-model for custom components and it would be nice to bind iterated model objects directly.
<ul class="my-list">
<li v-for="item in list">
<item-preview :value="item"></item-preview>
<item-edit-form v-model="item"></item-edit-form>
</li>
</ul>
This is a wontfix in 2.0 (and a breaking change from 1.x).
The recommendation is obviously using an array of objects instead.
OK I see, thank you for your description!
Most helpful comment
This is a wontfix in 2.0 (and a breaking change from 1.x).
The recommendation is obviously using an array of objects instead.