From 14f46b7b8c3d856446989779da34363f1cc5751d Mon Sep 17 00:00:00 2001 From: "Alexander.L" Date: Fri, 6 Dec 2024 09:22:23 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BB=D0=BE=D0=B3=D0=B8=D0=BA=D0=B8?= =?UTF-8?q?=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D1=8B=20filter=20=D1=81=20?= =?UTF-8?q?=D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=D0=BC=20array?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Grid/Column/CheckFilter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Grid/Column/CheckFilter.php b/src/Grid/Column/CheckFilter.php index e5153f1..61aef97 100644 --- a/src/Grid/Column/CheckFilter.php +++ b/src/Grid/Column/CheckFilter.php @@ -75,12 +75,12 @@ public function render() $value = $this->getFilterValue([]); $lists = collect($this->options)->map(function ($label, $key) use ($value) { - $checked = in_array($key, $value) ? 'checked' : ''; + $checked = in_array($label, $value) ? 'checked' : ''; return << HTML;