FilamentF
Filament16mo ago
sdssd

load and store state in custom field

Hello
I made a custom field for area selection in map
Like this
AREASelection::make()

For create forms i dont have any problem with setting default value
But for edit -> default will not run

My question is
How can i pass state to a custom field before loading component ?
In version two we have loadStateUsing
But this is not available in version 3!
How else should we pass record relation data to custom field in edit form
Thanks
Was this page helpful?