I am trying to update a property list in Vue.js using Inertia.js:
props: {
list: {
type: Object,
default: {}
}
},
updateTable(filters) {
axios.post(route('updateList'), filters)
.then(r => {
this.list = r.data
})
}
But I get the following error: TypeError: 'set' on proxy: trap returned falsish for property
In Inertia.js, all props are provided as proxies. As described in this mdn article, the proxie's set method needs to return true to allow the assignment. However, I have no idea how to correctly achieve that as I do not create the proxy myself. Any suggestions?
Or is it that with Inertia I would always be forced to use a partial reload?