Skip to content

Commit e3b6f29

Browse files
committed
Add loop key
1 parent 3bac8aa commit e3b6f29

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

resources/views/bootstrap-4/includes/column-select.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div class="dropdown-menu dropdown-menu-right w-100" aria-labelledby="columnSelect">
88
@foreach($columns as $column)
99
@if ($column->isVisible() && $column->isSelectable())
10-
<div>
10+
<div wire:key="columnSelect-{{ $loop->index }}">
1111
<label class="px-2 {{ $loop->last ? 'mb-0' : 'mb-1' }}">
1212
<input
1313
wire:model="columnSelectEnabled"

resources/views/bootstrap-5/includes/column-select.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div class="dropdown-menu dropdown-menu-end w-100" aria-labelledby="columnSelect">
88
@foreach($columns as $column)
99
@if ($column->isVisible() && $column->isSelectable())
10-
<div>
10+
<div wire:key="columnSelect-{{ $loop->index }}">
1111
<label class="px-2 {{ $loop->last ? 'mb-0' : 'mb-1' }}">
1212
<input
1313
wire:model="columnSelectEnabled"

resources/views/tailwind/includes/column-select.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class="origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg z-50"
4141
<div class="p-2" role="menu" aria-orientation="vertical" aria-labelledby="column-select-menu">
4242
@foreach($columns as $column)
4343
@if ($column->isVisible() && $column->isSelectable())
44-
<div>
44+
<div wire:key="columnSelect-{{ $loop->index }}">
4545
<label class="px-2 py-1 inline-flex items-center">
4646
<input
4747
wire:model="columnSelectEnabled"

0 commit comments

Comments
 (0)