Model binding
The standard form component expects an Eloquent Model
instance via the mount_form($model)
method.
It can either be a new Model
instance or an existing one.
Examples
In a view
blade
component
Route model binding
Using Livewire route, full-page components web.php
component
Optional model binding
Using Livewire route, full-page components web.php
component
Last updated
Was this helpful?