Show a "preview" within an action modal
Hi guys,
Just wondering, if is it possible to show a live "preview" which updates based on the contents of a form in an model. For example, if I had a modal which allowed someone to create a social media post, could I have a live preview on the right, similar to how Facebook does it?
4 Replies
Should be possible with
live()
fieldsPerhaps using it in conjunction with? https://filamentphp.com/docs/3.x/actions/modals#custom-modal-content
There's also #peek , although I'm not sure this is exactly what you are looking for in this case
Thanks, will take a look π