Skip to content

Commit 634c5f3

Browse files
Update README.md
1 parent 64f99b5 commit 634c5f3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,12 @@ explicitly set the selection type, use:
178178
->multiple(false)
179179
```
180180

181+
By default, the tree key (wire key) will be a random generated value, you can change this with the following method.
182+
183+
```php
184+
->treeKey('my-cool-tree')
185+
```
186+
181187
If you need to prepend an item to the tree menu, use the `prepend` method. This method accepts an array or a closure. It is useful when the tree-select is used as a filter (see example below).
182188

183189
```php

0 commit comments

Comments
 (0)