caweren
Missing route parameter when editing resource
Yeah, that's what i ended up with. The
missing route parameter
was due to id
not being in the $fillable
array, so it got stripped from the request before livewire tried to solve the route.
However, the model is not getting saved now - I'll make a new thread for this. Thank your for helping out, marking as solved.17 replies
Missing route parameter when editing resource
Also, looking through the request sent to Livewire when i click "save changed", i can see
license_id
and license
. license_id
is unchanged from the database value, while license
has the new, updated value (this ofcourse won't get saved, since license
is not a column in my database). Is it possible, on a select
with relationship, to manually put in the column name?17 replies
Missing route parameter when editing resource
Sorry about the delay, had lunch 🙂
So, testing a little further - if i add
id
to $fillable
on the Tenant
model, the error goes away and i get the notification that the settings has been saved!
However, the changes are not saved.17 replies