From 9efa375db36d73a2163f1203f28cbf0cc3d190b2 Mon Sep 17 00:00:00 2001 From: Diego Smania Date: Sat, 2 Nov 2024 17:45:54 -0300 Subject: [PATCH] [resources/components]: Input switch value attr may now be customized, using 'true' as default --- resources/views/components/form/input-switch.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/components/form/input-switch.blade.php b/resources/views/components/form/input-switch.blade.php index 974647dc..968c11ad 100644 --- a/resources/views/components/form/input-switch.blade.php +++ b/resources/views/components/form/input-switch.blade.php @@ -9,8 +9,8 @@ @section('input_group_item') {{-- Input Switch --}} - merge(['class' => $makeItemClass()]) }}> + merge(['class' => $makeItemClass(), 'value' => 'true']) }}> @overwrite