diff --git a/src/SelectTree.php b/src/SelectTree.php index bf2fdd8..2c90955 100644 --- a/src/SelectTree.php +++ b/src/SelectTree.php @@ -148,7 +148,7 @@ protected function setUp(): void static fn (SelectTree $component): ?Action => $component->getCreateOptionAction(), ]); - $this->treeKey('select-tree-key'); + $this->treeKey('treeKey-'.rand()); } protected function buildTree(): Collection