inertiajs / inertia-laravel

The Laravel adapter for Inertia.js.
https://inertiajs.com
MIT License
2.1k stars 235 forks source link

in inertia form naming key as data throws error saying expected array got function #690

Open Toylycker opened 4 days ago

Toylycker commented 4 days ago

const form = useForm({ data:[] });

this throws error in laravel when later on i wanna bind it to input as v-model='form.data'