Skip to content

Commit fede3e4

Browse files
committed
Issue #2155 has been fixed.
1 parent 3a9080f commit fede3e4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/Webkul/Admin/src/Resources/views/components/attributes/edit/checkbox.blade.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@
66
$selectedOption = old($attribute->code) ?: $value;
77
@endphp
88

9+
<input type="hidden" name="{{ $attribute->code }}" />
10+
911
@foreach ($options as $option)
1012
<x-admin::form.control-group class="!mb-2 flex items-center gap-2.5">
1113
<x-admin::form.control-group.control
1214
type="checkbox"
1315
:id="$option->id"
1416
name="{{ $attribute->code }}[]"
1517
:value="$option->id"
16-
:for="$option->id"
18+
:for="$option->id"
1719
:label="$option->name"
1820
:checked="in_array($option->id, explode(',', $selectedOption))"
1921
/>

0 commit comments

Comments
 (0)