From a0d54a9930039f73550f0f558bb8bfac16339baf Mon Sep 17 00:00:00 2001 From: Venelin Iliev Date: Mon, 29 May 2017 16:18:40 +0300 Subject: [PATCH] checkbox value fix --- resources/views/components/fields/checkbox.blade.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/views/components/fields/checkbox.blade.php b/resources/views/components/fields/checkbox.blade.php index 5fda5bb..95ea35b 100644 --- a/resources/views/components/fields/checkbox.blade.php +++ b/resources/views/components/fields/checkbox.blade.php @@ -28,6 +28,10 @@ } } + if (empty($options['value'])) { + $options['value'] = true; + } + /** * Името на полето да е от тип name[value] а не name[] */