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
Hi, I posted this question in the forum, but have now thought about it a little more and it seems to me like its probably a bug so I'm posting here.
The essence is that when binding a prop to an element in an object using square brackets, it fails.
The examples I posted in there didn't work when using simple text/textarea fields. We noticed that it did work when using a more complicated table field. Maybe it has something to do with using a string vs. an object as the value.
Editing the cells in the table fieldtype works fine. Editing the text/textarea fields results in [Vue warn]: Error when evaluating setter "fieldData[field.name]".
Hi, I posted this question in the forum, but have now thought about it a little more and it seems to me like its probably a bug so I'm posting here.
The essence is that when binding a prop to an element in an object using square brackets, it fails.
The examples I posted in there didn't work when using simple text/textarea fields. We noticed that it did work when using a more complicated table field. Maybe it has something to do with using a string vs. an object as the value.
I've updated the fiddle to illustrate this with a table fieldtype.
http://jsfiddle.net/9o5xjr0p/6/
Editing the cells in the table fieldtype works fine. Editing the text/textarea fields results in
[Vue warn]: Error when evaluating setter "fieldData[field.name]"
.Another thing to note is in this line:
If I hardcode the object's key, it works fine. eg.
:field-data.sync="fieldData['foo']"
. But obviously this doesn't solve the issue :)This all worked in 0.12. If you can point me in the right direction that would be fantastic.
The text was updated successfully, but these errors were encountered: