help, i make custome page i make button with ->requiresConfirmation(), and Confirmation not show
my action button in my pages
protected function getSendActions(): array
{
return [
Action::make('send')
->label(__('kirim'))
->requiresConfirmation()
->modalHeading('Kirim Barang Masuk')
->modalDescription('Apa Anda yakin untuk Mengirimya Barang masuk karena tidak bisa di edit lagi')
->modalSubmitActionLabel('Yes, Kirim')
->submit('send'),
];
}
anda code form in my view
<x-filament-panels::form wire:submit="kirim">
<input type="hidden" wire:model="userId" >
<x-filament-panels::form.actions
:actions="$this->getSendActions()"
/>
</x-filament-panels::form>
2 Replies