->deferFilters()
->filtersApplyAction(
function (Action $action) {
return $action
->button()
->url(function (array $data) {
info($data);
})
->label('Search');
}
)->filtersApplyAction(
fn (Action $action) => $action
->button()
->url(function (Table $table) {
$filters = $table->getFilters()['dependent_filters']->getState(); // this gets all selected filters
// handle to save these filters on the localStorage
})
->label('Search'),
)->filtersApplyAction(
fn (Action $action) => $action
->button()
->url(function ($livewire) {
$filters = $livewire->tableFilters['dependent_filters']; // this gets all selected filters
// handle to save these filters on the localStorage
})
->label('Search'),
)