header action opens a create modal, followed by a confirmation modal
Is it possible to show another prompt saying
Are you sure you want to add this category?
after clicking Save?
10 Replies
You can chain actions with
replaceMountedAction()
https://filamentphp.com/docs/3.x/actions/adding-an-action-to-a-livewire-component#chaining-actionsor use
wire:confirm
from native LivewireI'll try it. So it is not possible like this?
I don't think so
Any idea how can I get the value of form field here?
use
$data
I'll try, thanks cerr!
Last Sir, seems I can't pass the data in saveAction()
You can use chained actions:
https://github.com/filamentphp/filament/discussions/11906
or
https://dev.to/biostate/how-to-trigger-another-action-in-filamentphp-41hk
GitHub
Chained actions · filamentphp filament · Discussion #11906
Package Table builder / Actions Package Version v3.2 How can we help you? Hello, I'm trying to figure out how can I achieve chained actions. By chained actions I mean that after edit action I w...
DEV Community
How to Trigger Another Action in FilamentPHP
If you have an Action in FilamentPHP and want to trigger another action sequentially within it, you...
Thank you @toeknee