Dark
Dark
FFilament
Created by Dark on 1/23/2024 in #❓┊help
Select (native: false) disabled but user can choose options
No description
32 replies
FFilament
Created by Dark on 12/19/2023 in #❓┊help
requiresConfirmation not working on actions
I have a Filament page where I have a list of actions (array)
public function logActivityModalActions(): array
{
$actions = [
Action::make('delete')
->label('Delete')
->color('danger')
->requiresConfirmation()
->action('deleteAction'),
];
}
public function logActivityModalActions(): array
{
$actions = [
Action::make('delete')
->label('Delete')
->color('danger')
->requiresConfirmation()
->action('deleteAction'),
];
}
And I am rendering this array like the following:
<x-filament-panels::form.actions
:actions="$this->actions"
/>
<x-filament-panels::form.actions
:actions="$this->actions"
/>
All is working well, but the requiresConfirmation() is not working the action is called without showing the confirmation dialog. any idea?
53 replies
FFilament
Created by Dark on 12/7/2023 in #❓┊help
Toggle always false
Using array as the form values, I have a Toggle input, but the toggle is always false, when debugging I have the correct value (true) in my array but the toggle is always false (unchecked). any idea?
40 replies