You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -178,6 +178,12 @@ explicitly set the selection type, use:
178
178
->multiple(false)
179
179
```
180
180
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
+
181
187
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).
0 commit comments