F
Filament4mo ago
Sector

Multiple resource

Hey! I wondering, is it possible to handle multiple resources in one resource page without any plus relation tables? I mean if I have and Event resource, and an EvenTime resource, is it possible to fill all of the fields in on page?
4 Replies
toeknee
toeknee4mo ago
You would need to add the event time field within the event resource and map it as a relationship
Sector
SectorOP4mo ago
Could you give me an example?
ConnorHowell
ConnorHowell4mo ago
Just to add, if it's a singular relationship (HasOne, BelongsTo, MorphOne) you can pass ->relationship() to the Fieldset form component and fields within it would be saved to the relationship. Otherwise yeah a repeater is what you're after
Want results from more Discord servers?
Add your server