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
developer9mo 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
Want results from more Discord servers?
Add your server