diff --git a/src/SelectTree.php b/src/SelectTree.php index 2c90955..bf2fdd8 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('treeKey-'.rand()); + $this->treeKey('select-tree-key'); } protected function buildTree(): Collection