Arghyaashu
CreateAction steps nextAction label
I have create a two step CreateAction
CreateAction::make()
->disabled(fn() => $this->policies())
->label(' Add Contact')
->steps(fn()=> $this->createForm())
->createAnother(false)
where I want to change the label of next action button.
I tried using
CreateAction::make() ->nextAction( fn (Action $action) => $action->label('Next step'), ) but it doesn't support
CreateAction::make() ->nextAction( fn (Action $action) => $action->label('Next step'), ) but it doesn't support
2 replies
Understanding Filament's Authentication Mechanism in Laravel Applications
I am working on a Laravel Filament application where authentication is managed by Filament. When testing the /login endpoint using the POST method in Postman, the response indicates that the POST method is not supported for the route admin/login.
Could you explain how Filament handles the authentication process and what method or mechanism it employs for user authentication?
9 replies
Close action modal with event
I have a table action which open a livewire component, I that livewire there is one more table action which open a modal(blade file)
I want to close the livewire component when blade modal is open or close both blade modal and livewire component when blade modal is close
I tried giving id to livewire modal and dispatch close-modal event from second table action but it didn't worked
16 replies
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.
6 replies