Livewire encountered corrupt data - Notifications
I've got an unexplained issue. When I try and put markdown in a Notification Body, as per docs, it throws a livewire issue:
Livewire encountered corrupt data when trying to hydrate a component. Ensure that the [name, id, data] of the Livewire component wasn't tampered with between requests.
I've stripped everything out in this example using just wom view page header actions:
The one without any markdown works fine, the other throws the :Livewire
\
Mechanisms
\
HandleComponents
\
CorruptComponentPayloadException
error.
Any ideas ?
3 Replies
Anyone help with this one ?
Any of the filament core team able to comment on this ??.....I've provided the code, everything needed. I believe I'm directly lifting the code off the documentation and not trying to do anything obscure.
Get the same result trying to use
HtmlString
btw.I have copied the exact same example you have and it works as expected so it's probably something else you're doing.
What version of livewire/filament etc are you using? (
php artisan about
)
Also, can you share the rest of the resource/component?Thanks for responding.
On version 3.5.6 and 3.2.112, so nothing significantly out of date.
At least I know if it is working for you, then there is something we have got going on that is causing the issue. I'll do some investigation.