© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
18 replies
Trauma Zombie

Nested relation form

Hi guys, is it possible to create form with nested relations?
// ClientResource.php

Forms\Components\Section::make()
    ->relationship('entity')
    ->schema([
        // Fields on the entity model
        
        Forms\Components\Section::make()
            ->relationship('address')
            ->schema([
                // Fields on the address model
            ])
    ]),
// ClientResource.php

Forms\Components\Section::make()
    ->relationship('entity')
    ->schema([
        // Fields on the entity model
        
        Forms\Components\Section::make()
            ->relationship('address')
            ->schema([
                // Fields on the address model
            ])
    ]),

On my
ClientResource
ClientResource
I have form like this. My entity model is created, but address model is not. I am not sure, if it is even possible.
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

Form with nested repeaters with relation
FilamentFFilament / ❓┊help
3y ago
Nested relation
FilamentFFilament / ❓┊help
3y ago
Form relation state
FilamentFFilament / ❓┊help
16mo ago
Relation manager form
FilamentFFilament / ❓┊help
2y ago