Closed chickgit closed 11 months ago
I got error "Can't set model as property if it hasn't been persisted yet" when deleting a record. I'm trying to find the solution in discord but no response about this.
So in Livewire 3 it seems we must persist the property. this PR solve my issue.
Reference: Livewire 3 : Can't set model as property if it hasn't been persisted yet ModelSynth
I can confirm that this PR solve the problem. I had the same issue and adding this PR code was solved. Thanks @chickgit !
Thanks!
I got error "Can't set model as property if it hasn't been persisted yet" when deleting a record. I'm trying to find the solution in discord but no response about this.
So in Livewire 3 it seems we must persist the property. this PR solve my issue.
Reference: Livewire 3 : Can't set model as property if it hasn't been persisted yet ModelSynth