Value object casting

I'm using an eloquent model with value object casting (address object containing street, city .. fields). I cannot figure out how to use the value object in a filament form. How do I specify the subfields of my value object? Thanks
3 Replies
mvenghaus
mvenghaus8mo ago
with dot notation .. "object.field" for editiion you have to use a component that can handle arrays
Luc Van Keer
Luc Van KeerOP8mo ago
Which compents can handle arrays? Do you mean repeater/builder?
mvenghaus
mvenghaus8mo ago
yes
Want results from more Discord servers?
Add your server