Custom Action within TablesRenderHook::TOOLBAR_SEARCH_BEFORE
Hello,
I created custom render hook
Within component i created Action from "Filament\Actions\Action", it get's rendered but it wont have any effect when clicked any idea why?
4 Replies
What is the code of your livewire component? My guess is that you haven’t name the method correctly for it to get auto registered as an action.
Action is working now naming issue as you said, but when i try to access via JS that data-generate-pdf via click listner it does not have any effect...
Check the code in dev tools, it might have livewire click handler on it which could be conflicting with the js.
I don’t think it’s documented but actions also support ->alpineClickHandler() that you can use instead.
Yeah, that worked! Thanks