0👍
✅
To anyone who’s having same problem check your array/object assiging to your variables there could be the mistake like in mine I fixed mine with this:
this.saveForm.applications = toRaw(this.localProduct.translation.applications);
var fixed = Object.assign({},this.localProduct.translation.applications);
Inertia.post(this.route(`product.translations.applications`,{translation: this.localProduct.translation.id}),fixed);
0👍
According to Inertia’s documentation the first parameter expected when using Inertia.post()
is a URL. Does all of this.route(`product.translations.applications`,{translation: thislocalProduct.translation.id})
return a URL?
Source:stackexchange.com