© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•4w ago•
6 replies
Alan Colant

Nesting layout components not work in infolist

PanelsInfolist builder4️⃣v4
Hey everyone 👋

Has anyone run into this issue before? I’m having trouble with nested layout components (
Section
Section
,
Grid
Grid
, etc.) when they are deeply nested and use
statePath
statePath
recursively inside an infolist.

Here’s a example:

return $schema->constantState([
    'payload' => [
        'nested' => [
            'text' => 'value',
            'html' => 'value as html',
        ],
    ],
])->components([
    Section::make(__('Payload'))->statePath('notwork')->schema([
        Section::make()->statePath('notwork')->schema([
            Section::make()->statePath('notwork')->schema([
                Section::make()->statePath('payload')->schema([
                    CodeEntry::make('section')->statePath('nested'),
                ]),
            ]),
        ]),
    ]),
]);
return $schema->constantState([
    'payload' => [
        'nested' => [
            'text' => 'value',
            'html' => 'value as html',
        ],
    ],
])->components([
    Section::make(__('Payload'))->statePath('notwork')->schema([
        Section::make()->statePath('notwork')->schema([
            Section::make()->statePath('notwork')->schema([
                Section::make()->statePath('payload')->schema([
                    CodeEntry::make('section')->statePath('nested'),
                ]),
            ]),
        ]),
    ]),
]);


It looks like only one parent
statePath
statePath
is actually being resolved
, even though
CodeEntry::getStatePath()
CodeEntry::getStatePath()
returns the full nested path (
notwork.notwork.*.nested
notwork.notwork.*.nested
).
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 - Layout
FilamentFFilament / ❓┊help
3y ago
Add Action group in a custom infolist layout
FilamentFFilament / ❓┊help
2y ago
In infolist placeholder doesn't work?
FilamentFFilament / ❓┊help
3y ago
infolist not woking?
FilamentFFilament / ❓┊help
3y ago