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
developer3mo 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
More Posts
Customize Tenant URLI was wondering if it's possible to customize the tenant URL. By default, it looks like this.: > doWhen using hasCombinedRelationManagerTabsWithContent how can I disable or hide specific tabs?I want to disable or hide a tab based on a condition. For context I want to use a relationship definToggle saving to DB but not initializing with correct valueI have a form with a Toggle input on it. It's updating the database when I save the form, but when tHow i create Product and Product attribute releationship and Filament repeater ?I have product model, attributes model and product_attributes pivot table. Please help me i cant creHow I create images urls with "filament spatie media library" ?How I create images urls with "filament spatie media library" ? if yes How do I do that, i am workinFileUpload: Uploading (large files) directly to S3Again I'm struggling with uploading of large files (several gigabytes). I am experimenting with usincreate a button or action that copy a value from another fieldHello, i want to ask how to make a button/action that copy a value to field itself that inside repeacount how many item on repeaterHow to count how many item that already create to user in laravel filament? Please help me! Thank yoRepeater Stringfilament: 3.2 laravel: 10.10 php: 8.1 can I user repeater from string? for example, this my data clusters with url parameters to work with specific model dataI currently have a page that's repeated across locations. So you select a location from a drop down