Skip to content

Commit 3f032c6

Browse files
committed
Merge branch 'patch-bulk-action-random-wire-key' of https://github.com/DeltaSystems/laravel-livewire-tables into DeltaSystems-patch-bulk-action-random-wire-key
2 parents 9d6bb5e + f2f1436 commit 3f032c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "rappasoft/laravel-livewire-tables",
2+
"name": "deltasystems/laravel-livewire-tables",
33
"description": "A dynamic table component for Laravel Livewire",
44
"keywords": [
55
"rappasoft",

resources/views/tailwind/includes/table.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class="rounded border-gray-300 text-indigo-600 shadow-sm transition duration-150
9696
@forelse ($rows as $index => $row)
9797
<x-livewire-tables::table.row
9898
wire:loading.class.delay="opacity-50 dark:bg-gray-900 dark:opacity-60"
99-
wire:key="table-row-{{ $row->{$primaryKey} }}"
99+
wire:key="table-row-{{ md5(rand()) }}-{{ $row->{\Rappasoft\LaravelLivewireTables\Utilities\ColumnUtilities::parseField($primaryKey)} }}"
100100
wire:sortable.item="{{ $row->{$primaryKey} }}"
101101
:reordering="$reordering"
102102
:url="method_exists($this, 'getTableRowUrl') ? $this->getTableRowUrl($row) : ''"

0 commit comments

Comments
 (0)