Skip to content

Commit 873fecc

Browse files
authored
Tweak Livewire Component Column Key Behaviour
1 parent 1cb7dbe commit 873fecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Views/Columns/Traits/Helpers/LivewireComponentColumnHelpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ protected function getBlade(array $attributes, string $key): string
8484
'<livewire:dynamic-component :component="$component" :key="$key" '.$this->implodeAttributes($attributes).' />',
8585
[
8686
'component' => $this->getLivewireComponent(),
87-
'key' => $key,
87+
'key' => \Illuminate\Support\Str::random(),
8888
...$attributes,
8989
],
9090
);

0 commit comments

Comments
 (0)