Is it possible to handle a description from a related table?
Is it possible to handle a description from a related table? The relationship is there.
( ->table_2.field doesnt work )
4 Replies
should work. What is the error?
This snippet ist in filament resource Table_1. The description should be come from Table_2. the error is a) phpstorm make blanks between table_2 . field and this can not work. If i try so, Undefined constant "App\Filament\Resources\name"
I guess the syntax isnt right.
Solution
do you mean
$record->yourRelationship->field
?Yes.