F
Filament11mo ago
mavrick

Avoiding resource duplication

Good evening, I'd like to know if it's possible to reuse a resource in a createOptionForm Like this
schema([
Forms\Components\Select::make('customer_id')
->createOptionForm(CustomerResource::class)
...
]),
schema([
Forms\Components\Select::make('customer_id')
->createOptionForm(CustomerResource::class)
...
]),
Thanks!
1 Reply
developer
developer11mo ago
yes its possible there's an example in the docs ok i couldn't find the link but here's a video https://youtu.be/gHKin-a7mPY

Did you find this page helpful?