From 313035f4927c8d514b073f7e5186862a675c32cc Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 9 Jun 2020 12:45:30 -0500 Subject: [PATCH] wip --- src/InertiaForm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/InertiaForm.js b/src/InertiaForm.js index aee5b18..96672b6 100644 --- a/src/InertiaForm.js +++ b/src/InertiaForm.js @@ -217,7 +217,7 @@ class InertiaForm { export default { install(Vue) { - Vue.prototype.$inertia.form = (data, options) => { + Vue.prototype.$inertia.form = (data = {}, options = {}) => { return InertiaForm.create() .withData(data) .withOptions(options)