It seems like the frontend component doesn't get updated to reflect the new state when $set() is called on it.
I know very little about Livewire and alpineJs, but to me it looks like there isn't anything updating when JsonEditor when the state gets updated. Adding a watch to the component seems to fix the issue.
It seems like the frontend component doesn't get updated to reflect the new state when
$set()
is called on it.I know very little about Livewire and alpineJs, but to me it looks like there isn't anything updating when JsonEditor when the state gets updated. Adding a watch to the component seems to fix the issue.