Vulcan
Adding action to widget, modals not opening
So I'm wanting to have some actions on my widgets, think an onboarding flow.
I went through https://filamentphp.com/docs/3.x/actions/adding-an-action-to-a-livewire-component
And added the traits and interfaces to my widget.
But no luck. The action is there, but clicking it doesn't do anything, no confirmation modal.
I then tried making a custom livewire component and had the widget create that component, still to no avail
1 replies
Providing a Closure to a Filament\Pages\Actions\Action causing a livewire failure
Not sure if I'm just being dumb, but when I have a page which has a wizard.
I have a custom SubmitFormAction:
That works
But if I change that
disabled
to being a closure, it fails.
Eg:
Error:
Am I doing it wrong or is this just not something which is supported?2 replies