dyam
Close modal from List HeaderActions
I've managed to create a work around, because the unique / random id of the modal is not retrievable from withint the action (as far as i know)
After save and notification add:
// Refresh the page
redirect()->to(request()->header('Referer'));
For the cancel button add:
<x-filament::button
type="button"
color="gray"
x-on:click="close()"
>
{{ __('Cancel') }}
</x-filament::button>
4 replies