Skip to content
This repository was archived by the owner on Jan 21, 2021. It is now read-only.

Commit 313035f

Browse files
committed
wip
1 parent f431328 commit 313035f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/InertiaForm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ class InertiaForm {
217217

218218
export default {
219219
install(Vue) {
220-
Vue.prototype.$inertia.form = (data, options) => {
220+
Vue.prototype.$inertia.form = (data = {}, options = {}) => {
221221
return InertiaForm.create()
222222
.withData(data)
223223
.withOptions(options)

0 commit comments

Comments
 (0)