Skip to content

Commit 7dedf7d

Browse files
committed
Show ‘-‘ when group is null
1 parent ccfec0a commit 7dedf7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Filament/RelationManagers/FieldsRelationManager.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ public function table(Table $table): Table
167167
->groups([
168168
Group::make('group')
169169
->label(__('Group'))
170+
->getTitleFromRecordUsing(fn ($record): string => filled($record->group) ? $record->group : '-')
170171
])
171172
->columns([
172173
Tables\Columns\TextColumn::make('name')

0 commit comments

Comments
 (0)