Spatie Model States
I have model that use Spatie\ModelStates. (https://spatie.be/docs/laravel-model-states/v2/01-introduction)
No problem to create or list model.
But when i try to view or edit i got "Property type not supported in Livewire for property: ["NEW"]"
Introduction | laravel-model-states
laravel-model-states
3 Replies
Check if the package supports LW 3. They probably haven’t updated it yet to support it.
I’ve seen this issue with a couple of their packages now.
This package isn't Livewire specific.
right, but the way they are defining their data is in a way that livewire doesn't understand.
run a search in the help channel, it's been discussed before.