ritos123
Global search outside admin panel
Is it possible to recreate the global search bar outside of the admin panel?
My project uses filament for super-admin stuff
And outside of filament, i do the admin stuff like forms and tables in livewire
So i was wondering if i can reuse the filament global search bar since im already using the forms and tables outside of filament
2 replies
How to save the media type while uploading? Spatie media library
I added spatie media library plugin to my project
And for now this is how i do it:
SpatieMediaLibraryFileUpload::make('attachments')
->label(__('portal.attachments'))
->multiple()
->reorderable()
->collection('attachments')
What i need to do : Save the media type while uploading, so i know later on the type that is uploaded (image-display, PDF-download etc..)
Im not sure what the best approach to this should be
3 replies
Grouping rows - changing color
Is it possible to change the color of this grouping rows?
->defaultGroup(
Tables\Grouping\Group::make('vendor_company_id')
->label(__('entities.vendor_company'))
->getTitleFromRecordUsing(fn (Billable $record) => $record->company?->name)
)
3 replies
Clickable defaultGroup, instead of row
I want to make the defaultGroup in my table clickable, rather than having the option to click on each row
I know for each row that i do it with recordUrl but is it possible for the defaultGroup as well?
2 replies
RelationManager for hasManyThrough relationship
Im trying to add a relation manager to my ViewCustomerPage, to display all of the notes from tasks that customer has.
The relationships are like this:
Customer: morphMany notes
Notes: BelongsTo customer, BelongsTo task
Task: morphMany notes, BelongsTo customer
so how would i make a relationmanager to view all notes that tasks(that the specific customer has) have? Would a hasManyThrough relationship help?
1 replies