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

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jun 9, 2020
1 parent f431328 commit 313035f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InertiaForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 313035f

Please sign in to comment.