Simplified "checkboxUncheckedValue" handling

This commit is contained in:
Bernd Bestel
2020-11-11 17:34:37 +01:00
parent 9949f30c2b
commit 9c81fc890b
19 changed files with 21 additions and 78 deletions

View File

@@ -124,9 +124,6 @@
<div class="form-group">
<div class="custom-control custom-checkbox">
<input type="hidden"
name="open"
value="1">
<input @if($stockEntry->open == 1) checked @endif class="form-check-input custom-control-input" type="checkbox" id="open" name="open" value="1">
<label class="form-check-label custom-control-label"
for="open">{{ $__t('Opened') }}</label>