File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ SelectTree::make('category_id')
4747->disabledBranchNode()
4848```
4949
50+ ![ disabledBranchNode] ( https://github.com/CodeWithDennis/filament-select-tree/assets/23448484/94de4d96-5f39-4633-8fdf-73156362d363 )
51+
5052``` PHP
5153// Show the count of children alongside the group's name.
5254->withCount()
@@ -73,16 +75,22 @@ SelectTree::make('category_id')
7375->clearable(false)
7476```
7577
78+ ![ clearable] ( https://github.com/CodeWithDennis/filament-select-tree/assets/23448484/c7499110-86a7-4177-8853-c21739473c77 )
79+
7680``` php
7781// Enable the option to save multiple values as a string (comma-separated)
7882->multiple()
7983```
8084
85+ ![ multiple] ( https://github.com/CodeWithDennis/filament-select-tree/assets/23448484/6970676d-1c8e-48fd-8af3-4301a984b976 )
86+
8187``` PHP
8288// Activates the search functionality for the SelectTree.
8389->searchable()
8490```
8591
92+ ![ searchable] ( https://github.com/CodeWithDennis/filament-select-tree/assets/23448484/5dbab5cb-a895-4f6a-af7c-16520400a902 )
93+
8694``` PHP
8795// The tree is disabled. (You can also use: ->disabledOn(''))
8896->disabled(),
You can’t perform that action at this time.
0 commit comments