This commit is contained in:
salam committed 2026-02-22 16:51:35 +01:00
1 parent d356db1d8b
commit dcaf503b71
2 files changed
+7 -2

No files matched your search

+5
View File
@@ -60,6 +60,11 @@ class MapperLeft extends Component implements HasActions, HasSchemas, HasTable
unset($this->search_values[$key]); unset($this->search_values[$key]);
} }
$this->search_values = [];
$this->tableSearch = ''; // Clears the main search bar
$this->fill(['tableSearch' => '']);
$this->resetTableFiltersForm(); // Clears all filters
$this->dispatch('refreshMapperLeft'); $this->dispatch('refreshMapperLeft');
} }
+2 -2
View File
@@ -61,8 +61,8 @@ class MapperRight extends Component implements HasActions, HasSchemas, HasTable
$this->search_values = []; $this->search_values = [];
$this->tableSearch = ''; // Clears the main search bar $this->tableSearch = ''; // Clears the main search bar
$livewire->fill(['tableSearch' => '']); $this->fill(['tableSearch' => '']);
$livewire->resetTableFiltersForm(); // Clears all filters $this->resetTableFiltersForm(); // Clears all filters
$this->dispatch('refreshMapperRight'); $this->dispatch('refreshMapperRight');
} }