© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
16 replies
Samir

Problem showing array in Infolist using RepeatableEntry

I have Product table with 'syn' field which takes multiple entries. I am using repeater for this in form. Now, I am using View file where I want to see all my 'syn'. I am using below code in Infolist.
RepeatableEntry::make('syn')->schema([
TextEntry::make('syn') )]. But it gives me list of empty entries. So if I have 11 entries, then it gives 11 empty blocks. I tried using RepeatableEntry::make('$this->product->syn') or RepeatableEntry::make('$this->product') both gave error. RepeatableEntry::make('syn') does not give error and also lists exact blocks for entries. But why data not populated. Please help. In my migration syn is json type and in Product model I have already cast it array. Form or Table view is great.
Solution
You can simple display simple repeater json data like this
RepeatableEntry::make('syn') // syn is json column
    ->schema([
        TextEntry::make('') // leave empty
    ])
RepeatableEntry::make('syn') // syn is json column
    ->schema([
        TextEntry::make('') // leave empty
    ])
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

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Infolist RepeatableEntry with an Array
FilamentFFilament / ❓┊help
9mo ago
Infolist RepeatableEntry with an Array
FilamentFFilament / ❓┊help
3y ago
infolist with RepeatableEntry
FilamentFFilament / ❓┊help
3y ago
Infolist RepeatableEntry view entry action.
FilamentFFilament / ❓┊help
9mo ago