F
Filament4mo ago
Mocus

InfoList Repeatable Entry Eloquent Children

so i have a $record -> repeater -> $record.child but i can't access the children in my repeater? going over the forums allot of questions asked but none seem to get answered.. example code:
return $infolist
->schema([
TextEntry::make('types.typeName')
->placeholder('types.description')
->hiddenLabel()
->columnSpanFull(),
RepeatableEntry::make('activities.activitytype.activityName') <---- MAKES 5 PANELS FINE
->schema([
TextEntry::make('typeID'), <------- DOES NOT APPEAR | TRIED WITH ELOQUENT, MODELS ARE LINKED FINE.
]),
]);
return $infolist
->schema([
TextEntry::make('types.typeName')
->placeholder('types.description')
->hiddenLabel()
->columnSpanFull(),
RepeatableEntry::make('activities.activitytype.activityName') <---- MAKES 5 PANELS FINE
->schema([
TextEntry::make('typeID'), <------- DOES NOT APPEAR | TRIED WITH ELOQUENT, MODELS ARE LINKED FINE.
]),
]);
0 Replies
No replies yetBe the first to reply to this messageJoin