diff --git a/src/Http/Livewire/LfCheckboxFilter.php b/src/Http/Livewire/LfCheckboxFilter.php index 51e7b9d..67640a5 100644 --- a/src/Http/Livewire/LfCheckboxFilter.php +++ b/src/Http/Livewire/LfCheckboxFilter.php @@ -17,8 +17,6 @@ class LfCheckboxFilter extends Component public $selected = []; - public $previousSelected = []; - #[Computed(persist: true)] public function filterOptions() { @@ -45,7 +43,6 @@ public function updatedSelected() public function clear() { $this->selected = []; - $this->previousSelected = []; $this->clearFilters(); } @@ -72,7 +69,6 @@ public function setPresetValues($params) { if (array_key_exists($this->getParamKey(), $params)) { $this->selected = explode('|', $params[$this->getParamKey()]); - $this->previousSelected = $this->selected; } }