Skip to content

Commit

Permalink
Disable form modelable by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogobbosouza committed Oct 17, 2022
1 parent d981b1c commit db10d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concerns/PrepareFormDataBinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function startFormDataBinder($bind = null, $modelable = null)
{
app(FormDataBinder::class)
->bind($bind)
->model($modelable);
->model($modelable ?? false);
}

/**
Expand Down

0 comments on commit db10d79

Please sign in to comment.