Hide Actions on RelationManager
I am using
ExampleResource::table($table)
in a RelationManager. This includes all the actions that appear on that resource's table. When I call ->actions()
to add a "DetachAction", this is added correctly. However, I would like a way of removing existing actions or resetting them. I tried the hiddenOn()
behaviour that is available for table columns. Is this possible for actions?Solution:Jump to solution
AH! My current branch is on an old version of Filament (Laravel 9, due to Nova). It appears this behaviour has been changed to how I expected it, in the latest version (different branch). Perfect!
6 Replies
Does anyone know if it is possible to remove actions from a table listing?
you can override the actions
@Leandro Ferreira This does not override them, this adds to them…
It shouldn't can you provide all code please
Solution
AH! My current branch is on an old version of Filament (Laravel 9, due to Nova). It appears this behaviour has been changed to how I expected it, in the latest version (different branch). Perfect!
Thanks for the debugging. I should've tested with my newer branch.