© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
5 replies
Arghyaashu

Modal on action

Action::make('refund')
->label(' Refund')
->requiresConfirmation()
->action(function ($record) {
if ($paymentGateway == 'Payment Terminals') {
$response = json_decode(ValorVirtualTerminal::issueRefundAPI($record->id),true);
// dd($response);
Notification::make()
->title('Refunded Successfully.')
->body($response['msg'])
->persistent()
->send();
}

I want to open a modal and show the response in the modal not in notification, I have no clue how to do this can someone help.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Modal On Bulk Action
FilamentFFilament / ❓┊help
3y ago
Modal action
FilamentFFilament / ❓┊help
2y ago
Custom action modal on widget?
FilamentFFilament / ❓┊help
3w ago