From c0cc34d6898922b177b3154befa4c349707bf780 Mon Sep 17 00:00:00 2001 From: Rico Sonntag Date: Wed, 27 Dec 2023 16:19:11 +0100 Subject: [PATCH] Update checkbox.phtml Currently the Checkbox component cannot be properly used to save empty (unchecked status) settings. A hidden element is missing here, which is assigned the unchecked value. --- resources/views/components/checkbox.phtml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/views/components/checkbox.phtml b/resources/views/components/checkbox.phtml index d2447d90442..8bafc612f0f 100644 --- a/resources/views/components/checkbox.phtml +++ b/resources/views/components/checkbox.phtml @@ -9,11 +9,13 @@ declare(strict_types=1); * @var string $label * @var string $name * @var string|null $value + * @var string $unchecked */ ?>
+