inertia
inertia copied to clipboard
use default empty object in useForm Vue and Svelte
Fixes #2011
This allows useForm() with no arguments in Svelte and Vue similar to how the React useForm is set up.
NOTE I verified this works in Svelte via manual testing but I haven't tested the Vue version.