maoberlehner/vuex-map-fields

Question: How to push an item into an array

OuZuYu opened this issue · 1 comments

Such as this example
https://codesandbox.io/embed/vue-template-zthyf

When I push an object it will error

You have to push directly into addresses and not overwrite addresses.

See: https://markus.oberlehner.net/blog/how-to-handle-multi-row-forms-with-vue-vuex-and-vuex-map-fields/