© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
10 replies
MichaelMdp

Form relation fields of same relation in different groups/Fieldset

I can't figure out how to add fields from the same relation to different groups or Fieldsets. Only the last group seems to be linked to the relation.

e.g.:

```
$form
->schema([
group::make()
->relationship('user')
->schema([
TextInput::make('name')
]),
TextInput:make('some_field'),
group::make()
->relationship('user')
->schema([
TextInput::make('email')
])
])
Solution
Well it is, if you want the fields to be completely random in position in your vision that is not possible. IF you want them in a box on the right or on the left, or in their own section, then that's where we can explain how to achieve that. Which is all relative to your view of what you are trying to acheive.
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

same fields, different content
FilamentFFilament / ❓┊help
3y ago
Same model different Relation Managers
FilamentFFilament / ❓┊help
2y ago
Different Form in the same resource
FilamentFFilament / ❓┊help
2y ago
Get Relation Fieldset State / Set Outside State in Relationship Fieldset
FilamentFFilament / ❓┊help
2y ago