F
Filamentβ€’10mo ago
SebboRR

Many to Many (Polymorphic) in Table View

How do I get access and view the list of phone numbers.
Tables\Columns\TextColumn::make('phone2')
->getStateUsing(fn (Model $record): string => "{$record->phones}"),
Tables\Columns\TextColumn::make('phone2')
->getStateUsing(fn (Model $record): string => "{$record->phones}"),
No description
2 Replies
SebboRR
SebboRROPβ€’10mo ago
Thank you very much, it worked πŸ˜‰
Want results from more Discord servers?
Add your server