Mirnes
Mirnes
FFilament
Created by Mirnes on 7/12/2024 in #❓┊help
searching in description
This was working fine in v2 but in v3 I get error Tables\Columns\TextColumn::make('VariantProduct.product_name') ->label('Proizvod / Kategorija') ->description(fn ($record): string => $record->VariantCategory->category_name ?? '') ->searchable(['product_name', 'category_name']) ->weight(FontWeight::Medium), Error: Column not found: 1054 Unknown column 'category_name' in 'where clause'
3 replies
FFilament
Created by Mirnes on 9/26/2023 in #❓┊help
Avatar not showing
I followed documentation https://filamentphp.com/docs/3.x/panels/users#setting-up-user-avatars but avatars are not showing. I checked page source and here is avatar part: <div style="background-image: url(&#039;images/userimages/pFP5jSAR4X2xvIjsSdky6YM1JAfTR9-metaTWlybmVzLmpwZw==-.jpg&#039;);"
2 replies
FFilament
Created by Mirnes on 3/9/2023 in #❓┊help
How to use Split Component
Tried like this: return $table ->schema([ Split::make([ ImageColumn::make('avatar'), TextColumn::make('name'), TextColumn::make('email'), ]) ])... But got error: Call to undefined method Filament\Resources\Table::schema()
22 replies
FFilament
Created by Mirnes on 3/4/2023 in #❓┊help
Showing table in a Livewire's component view
I'm trying to show filament table in livewire view following documentation: https://filamentphp.com/docs/2.x/tables/getting-started#preparing-your-livewire-component but I get error Using $this when not in object context
4 replies