Skip to content

Commit 95aedb0

Browse files
authored
Merge branch '3.x' into labels
2 parents 0d1fdf5 + 3b1bef4 commit 95aedb0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/SelectTree.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ protected function setUp(): void
134134
return $component->getCustomKey($record);
135135
});
136136

137+
$this->dehydrated(fn (SelectTree $component): bool => ! $component->getRelationship() instanceof BelongsToMany);
138+
137139
$this->placeholder(static fn (SelectTree $component): ?string => $component->isDisabled() ? null : __('filament-forms::components.select.placeholder'));
138140

139141
$this->suffixActions([

0 commit comments

Comments
 (0)