From dc794c64ce87541d0d640f74bb3aeb1ecc4d953c Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Sun, 31 Mar 2024 00:14:15 -0400 Subject: [PATCH] =?UTF-8?q?This=20is=20supposed=20to=20be=20sent,=20but=20?= =?UTF-8?q?isn=E2=80=99t=20because=20it=E2=80=99s=20disabled,=20even=20tho?= =?UTF-8?q?ugh=20it=E2=80=99s=20dehydrated?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../NodeResource/Pages/CreateNode.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/Filament/Resources/NodeResource/Pages/CreateNode.php b/app/Filament/Resources/NodeResource/Pages/CreateNode.php index 9ffa0aeee..dd06b73be 100644 --- a/app/Filament/Resources/NodeResource/Pages/CreateNode.php +++ b/app/Filament/Resources/NodeResource/Pages/CreateNode.php @@ -69,15 +69,15 @@ class CreateNode extends CreateRecord return ''; }) - ->disabled(function (Forms\Get $get, Forms\Set $set) { - if (request()->isSecure()) { - $set('scheme', 'https'); - - return true; - } - - return false; - }) +// ->disabled(function (Forms\Get $get, Forms\Set $set) { +// if (request()->isSecure()) { +// $set('scheme', 'https'); +// +// return true; +// } +// +// return false; +// }) ->options([ 'http' => 'HTTP', 'https' => 'HTTPS (SSL)',