File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ SelectTree::make('category_id')
3939 // Set a custom placeholder for when no items are selected
4040 ->placeholder(__('Your custom placeholder here'))
4141
42- // Enabled the selection of groups.
42+ // Enables the selection of groups.
4343 ->enableBranchNode()
4444
4545 // Adjust the emptyLabel for when there are zero search results.
Original file line number Diff line number Diff line change 77use Filament \Forms \Components \Concerns \CanBeSearchable ;
88use Filament \Forms \Components \Concerns \HasPlaceholder ;
99use Filament \Forms \Components \Field ;
10- use Illuminate \Database \Eloquent \Concerns \HasRelationships ;
1110use Illuminate \Database \Eloquent \Relations \BelongsTo ;
1211use Illuminate \Database \Eloquent \Relations \BelongsToMany ;
1312use Illuminate \Support \Collection ;
@@ -17,7 +16,6 @@ class SelectTree extends Field
1716 use CanBeDisabled;
1817 use CanBeSearchable;
1918 use HasPlaceholder;
20- use HasRelationships;
2119
2220 protected string $ view = 'select-tree::select-tree ' ;
2321
You can’t perform that action at this time.
0 commit comments