From b4122036ff65aef6d3f00c10bbdc4d103dc376ea Mon Sep 17 00:00:00 2001 From: salam Date: Sun, 22 Feb 2026 16:34:17 +0100 Subject: [PATCH] wip --- app/Livewire/MapperLeft.php | 5 +++++ app/Livewire/MapperRight.php | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/app/Livewire/MapperLeft.php b/app/Livewire/MapperLeft.php index fa932f48..b3332426 100644 --- a/app/Livewire/MapperLeft.php +++ b/app/Livewire/MapperLeft.php @@ -285,6 +285,11 @@ class MapperLeft extends Component implements HasActions, HasSchemas, HasTable #[On('search_left')] public function searchLeft($string) { + $this->search_values = []; + $this->tableSearch = ''; // Clears the main search bar + $this->fill(['tableSearch' => '']); + $this->resetTableFiltersForm(); // Clears all filters + $t = explode('|', $string); $this->search_values = SearchString::explode($t[0]); diff --git a/app/Livewire/MapperRight.php b/app/Livewire/MapperRight.php index ae93b77d..7c4bf2c6 100644 --- a/app/Livewire/MapperRight.php +++ b/app/Livewire/MapperRight.php @@ -336,6 +336,11 @@ class MapperRight extends Component implements HasActions, HasSchemas, HasTable #[On('search_right')] public function searchRight($string) { + $this->search_values = []; + $this->tableSearch = ''; // Clears the main search bar + $this->fill(['tableSearch' => '']); + $this->resetTableFiltersForm(); // Clears all filters + $t = explode('|', $string); $this->search_values = SearchString::explode($t[0]);