Closed iamohd-zz closed 3 years ago
I have the same. As a temporary workaround, I disabled remember state for the forms:
useForm({ ... }, { remember: false })
Same problem here,
Versions:
@inertiajs/inertia version: 0.8.6
@inertiajs/inertia-vue3 version: 0.3.6
Describe the problem:
DOM exception is thrown when trying to set then unset an array of objects in form object.
DOMException: Failed to execute 'replaceState' on 'History': [object Object] could not be cloned.
I just installed Laravel Jetstream, the issue appears on the api-tokens page.
confirmed, same as @pascut in jetstream. also reported here https://github.com/laravel/jetstream/issues/739
This has been fixed in #587. Please let me know if this problem persists. 👍
I'm getting the same error with the vue2 adapter
"@inertiajs/inertia": "^0.9.1",
"@inertiajs/inertia-vue": "^0.6.2",
Versions:
@inertiajs/inertia
version: 0.8.6@inertiajs/inertia-vue3
version: 0.3.6Describe the problem:
DOM exception is thrown when trying to set then unset an array of objects in form object.
Steps to reproduce:
Create Inertia form object
Now if you try to set users with the following values it will throw an exception
It will throw the following exception
However, if you set remember attribute in the form to false, this will not happen.