Open Modal after Action Execution to show the result
Is there any way to open a modal after execution to show bigger results like JSON/Large Text?
If that's not possible, is there a way to keep the modal open when confirm button is clicked and set the value of a field in the modal form area?
3 Replies
I have the same problem. I'm doing an action with a form to create an api token.
I want to open a new modal after token it's created on ->action() to show the value of the token generated
Maybe this helps: https://filamentphp.com/docs/3.x/actions/adding-an-action-to-a-livewire-component#chaining-actions
You can then show your large text using a custom view: https://filamentphp.com/docs/3.x/actions/modals#custom-modal-content
Thanks @Azorky, i'm going to review that