From 919575f51de07c27b23abb6e6564d191a960caa3 Mon Sep 17 00:00:00 2001 From: wychoong <67364036+wychoong@users.noreply.github.com> Date: Fri, 24 May 2024 15:29:33 +0800 Subject: [PATCH] remove `->live` on toggle field --- packages/admin/src/Support/FieldTypes/Toggle.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/admin/src/Support/FieldTypes/Toggle.php b/packages/admin/src/Support/FieldTypes/Toggle.php index 6b682b2cc4..3e3ec4a8d3 100644 --- a/packages/admin/src/Support/FieldTypes/Toggle.php +++ b/packages/admin/src/Support/FieldTypes/Toggle.php @@ -18,7 +18,6 @@ public static function getFilamentComponent(Attribute $attribute): Component $attribute->translate('description') ) ->default(false) - ->rule('boolean') - ->live(); + ->rule('boolean'); } }