Is there a way to show related record information in a textEntry inside infolist?
TextEntry::make('animals.name')
->listWithLineBreaks()
->label('Subject(s)'),
2 Replies
what kind of relationship?
MorphedBy Many?
public function animals()
{
return $this->morphedByMany(Animal::class, 'eventable');
}