How to Update widget on Table Filters "Reset Filters", and Active Filters both X icons

How to Update widget on Table Filters "Reset Filters", and Active Filters both X icons
8 Replies
Dan Harrin
Dan Harrin14mo ago
i dont know what you mean
LeandroFerreira
LeandroFerreira14mo ago
Filament
How to Refresh Widgets When Table Actions Are Fired by Leandro C. F...
Filament is a collection of tools for rapidly building beautiful TALL stack apps, designed for humans.
ImShehryar
ImShehryar14mo ago
When click on these emit event and refresh widget ?
LeandroFerreira
LeandroFerreira14mo ago
Can you try?
public function resetTableFiltersForm(): void
{
$this->getTableFiltersForm()->fill();
$this->updatedTableFilters();
$this->emit('your-event');
}
public function resetTableFiltersForm(): void
{
$this->getTableFiltersForm()->fill();
$this->updatedTableFilters();
$this->emit('your-event');
}
ImShehryar
ImShehryar14mo ago
Will try and let u know..Thanks for the awesome support and awesome package..
ImShehryar
ImShehryar14mo ago
resetTableFiltersForm() is called only on "Reset Filters" but i want to handle "X" icons and reset filter to default value when clicked on these X icons..
ImShehryar
ImShehryar14mo ago
And also want to reset the stats widget according to default selected filter value