Show table row action only when filter is enabled
Hey all,
Is it possible to hide an action in the table when a filter is not enabled?
4 Replies
You can access the filters via the Livewire component:
->visible(fn ($livewire) => $livewire->activeFilters
Thanks for your reply.
I have tried it. I am getting this error:
This is my code:
Solution
Seems like it is
tableFilters
Yeah that's it