invaders-xx / filament-jsoneditor

MIT License
22 stars 15 forks source link

Css image path, isJson() obsolete #28

Closed tanthammar closed 10 months ago

tanthammar commented 10 months ago

Fixes:

published css path for the image

Non breaking change:

There is no need to check if the state is json because Livewire will encode any field value to json when using "entangle". On the other hand it is required to cast the field data to array or json for the editor to accept the state as valid json. I have update the readme and removed redundant code.

The isJson() method has been marked as deprecated for backward compatibility