invaders-xx / filament-jsoneditor

MIT License
22 stars 14 forks source link

$set() doesn't seem to update the frontend component #23

Closed 0liverdam closed 5 months ago

0liverdam commented 1 year ago

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.

invaders-xx commented 1 year ago

You can provide a PR