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 Harrin2y ago
i dont know what you mean
LeandroFerreira
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
ImShehryarOP2y ago
When click on these emit event and refresh widget ?
LeandroFerreira
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
ImShehryarOP2y ago
Will try and let u know..Thanks for the awesome support and awesome package..
ImShehryar
ImShehryarOP2y 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
ImShehryarOP2y ago
And also want to reset the stats widget according to default selected filter value
Want results from more Discord servers?
Add your server