Skip to content

Commit 10f2435

Browse files
Cleaning up
1 parent 27d7f48 commit 10f2435

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.

src/SelectTree.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use Filament\Forms\Components\Concerns\CanBeSearchable;
88
use Filament\Forms\Components\Concerns\HasPlaceholder;
99
use Filament\Forms\Components\Field;
10-
use Illuminate\Database\Eloquent\Concerns\HasRelationships;
1110
use Illuminate\Database\Eloquent\Relations\BelongsTo;
1211
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
1312
use 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

0 commit comments

Comments
 (0)