How to get active filters on table inside list resource page widget.
I am trying to get list of active filters applied on table inside a widget. My current approach is
but this is returning all filters available. How to get only active filters?
2 Replies
First, I apologize I don't have a concrete answer, but as I was reading your question I recalled reading about "indicators" earlier today while I was working on adding filters. Does
getIndicators()
do what you're looking for?
Related: https://filamentphp.com/docs/3.x/tables/filters#multiple-active-indicatorsI have the same problem, there seems to be no way of doing it on the
$table
object.
I wanted to activate pagination when no filters are selected.