blackdog308
blackdog308
FFilament
Created by blackdog308 on 4/3/2024 in #❓┊help
Select Filter List Truncated
Hi Guys, I have a select filter which has more then 50 options, however the list has been truncated to 50, is there a way to get all options to show?
1 replies
FFilament
Created by blackdog308 on 10/6/2023 in #❓┊help
Page Numbers - Table Widgets
Hi All, I've been reading through all the docs and cannot find how to enable page numbers on a table widget? Any ideas or pointers anyone can give short of creating a resource?
3 replies
FFilament
Created by blackdog308 on 9/12/2023 in #❓┊help
Filter table with metadata column
Hi everyone, I have a table where the displayed information is from the primary table + joined column from the metadata table. My Select Filters work for the columns on the main table, but when I run my select filter on the joined metadata table, I get an error stating the column 'status' cannot be found on the table. Attribute on the primary table model protected function status(): Attribute { return Attribute::make( get: fn () => $this->attributes()->where('key', 'status')->first()->value ?? null, set: fn ($value) => $this->attributes()->updateOrCreate(['key' => 'status'], ['value' => $value]) ); } Column on the Primary Table SelectColumn::make('status') ->options(ResourceOption::where('resource', 'renewals')->get()->keyBy('id')->map(fn ($item) => $item->name)->toArray()) ->placeholder(''), Select Filter on the Primary Table for the Metadata column SelectFilter::make('status') ->options( ResourceOption::where('resource', 'renewals') ->where('type', 'status') ->get() ->keyBy('id') ->map(fn ($item) => $item->name) ->toArray() ) ->multiple(),
5 replies