Skip to content

Commit

Permalink
checkbox value fix
Browse files Browse the repository at this point in the history
  • Loading branch information
veneliniliev committed May 29, 2017
1 parent b888ab6 commit a0d54a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/views/components/fields/checkbox.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
}
}
if (empty($options['value'])) {
$options['value'] = true;
}
/**
* Името на полето да е от тип name[value] а не name[]
*/
Expand Down

0 comments on commit a0d54a9

Please sign in to comment.