Thou Blue
Explore posts from serversHow to get selected filters in filtersApplyAction?
I have 8 filters that can be applied, I want to save the applied filters in localStorage, when the user clicks on Search button. How can I do that? (I am trying to save so that the user can have previous filters selected whenever the table is viewed again(even after being logged out)).
->deferFilters()
->filtersApplyAction(
function (Action $action) {
return $action
->button()
->url(function (array $data) {
info($data);
})
->label('Search');
}
)
6 replies