© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
3 replies
morty

Infolist table repeater or key-value from a relationship?

Hi,

Is there a way to display a list of key-values from a has many relationship in an infolist? If not, is there a way to display a table of this relationship?

For example, If my infolist was about an
Author
Author
model, is there an infolist entry I can use to display a list of all the author's books from a related
Book
Book
model?
Solution
Hmm actually, I managed to get there in the end.

Infolists\Components\RepeatableEntry::make('grades')
    ->hiddenLabel()
    ->contained(false)
    ->schema([
        Infolists\Components\TextEntry::make('name')
            ->hiddenLabel(),
        Infolists\Components\TextEntry::make('value')
            ->hiddenLabel(),
    ])->columns(2),
Infolists\Components\RepeatableEntry::make('grades')
    ->hiddenLabel()
    ->contained(false)
    ->schema([
        Infolists\Components\TextEntry::make('name')
            ->hiddenLabel(),
        Infolists\Components\TextEntry::make('value')
            ->hiddenLabel(),
    ])->columns(2),
CleanShot_2024-08-15_at_16.32.36.png
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

(Table) Repeater relationship options
FilamentFFilament / ❓┊help
3y ago
Repeater with key:value
FilamentFFilament / ❓┊help
2y ago
What to use: Repeater or Key-value
FilamentFFilament / ❓┊help
2y ago
Refresh infolist repeater containing a relationship on action
FilamentFFilament / ❓┊help
8mo ago