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
mvenghaus3mo ago
with dot notation .. "object.field" for editiion you have to use a component that can handle arrays
Luc Van Keer
Luc Van Keer3mo ago
Which compents can handle arrays? Do you mean repeater/builder?
mvenghaus
mvenghaus3mo ago
yes
Want results from more Discord servers?
Add your server
More Posts