Skip to content

Commit a609fe6

Browse files
Merge branch 'krayin:2.1' into 2.1
2 parents 221fb17 + 53ab066 commit a609fe6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

+3-1
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
/>

packages/Webkul/Contact/src/Database/Migrations/2024_09_09_112201_add_unique_id_to_person_table.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function up(): void
1616
$table->string('unique_id')->nullable()->unique();
1717
});
1818

19-
$tableName = DB::getTablePrefix() . 'persons';
19+
$tableName = DB::getTablePrefix().'persons';
2020

2121
DB::statement("
2222
UPDATE {$tableName}

0 commit comments

Comments
 (0)