Skip to content

Commit 863980b

Browse files
Intructions to use withTrashed()
1 parent 5f976d9 commit 863980b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ Hide specific options in the tree
132132
->hiddenOptions([2, 3, 4])
133133
```
134134

135+
Allow soft deleted items to be displayed
136+
137+
```PHP
138+
->withTrashed()
139+
```
140+
135141
Specify a different key for your model.
136142
For example: you have id, code and parent_code. Your model uses id as key, but the parent-child relation is established between code and parent_code
137143

0 commit comments

Comments
 (0)