I have and array of objects, this is indefinite array, may push or splice things here. I need to bind the property of an object to a input dom with vue, doesnt seem to work.
heres the data
items : [
{ prop1: 123, prop2: 'test', prop3: 'foo' },
{ prop1: 321, prop2: 'tset', prop3: 'bar' },
]
}
trying to do
<li v-for="item in items">
{{ item.prop2 }}
<input type="text" v-model="item.prop1">
</li>
</ul>