Action not trigging in a livewire component?
Simple action:
called with this in the view:
Just spins and doesn't do anything and action is never hit... suggestions?
if I write a function
then save_resume function is hit...
Solution:Jump to solution
Resolved, the action need to have the same naming convention less Action in the name of the action.
10 Replies
Solution
Resolved, the action need to have the same naming convention less Action in the name of the action.
Yeah, the docs dont explain this well enough 😅
I had a similar issue a couple of months ago
Ahhh! I’ll do a PR soon
I am having a similar issue with table Action. Can you please explain the solution?
Provide your code please
The approveAction is not triggering. The page extends a list record page. Filament v3.2.14
imported class
even the confirmation modal is not opened but i see a network request to livewire/update
The action was not working because of this query()
updating query to below works for action but I loose the pivot classes for the many to many relation. Kindly help
your reject function should be names "rejectAction"
the approveAction doesn't work friend its because of the query
this has been the case. i cannot get Action to work with relationship getQuery
Unfortunately I am not familiar using it with pivots too
got it solved with