Jordy
Jordy
FFilament
Created by Chili con Timo on 3/14/2025 in #❓┊help
Manipulate member with a button wire:click inside a ViewField in a HasForms Page
assuming its inside the form
6 replies
FFilament
Created by Chili con Timo on 3/14/2025 in #❓┊help
Manipulate member with a button wire:click inside a ViewField in a HasForms Page
6 replies
FFilament
Created by capins on 3/14/2025 in #❓┊help
Hello,I have a Table column like this:
This works for me
->query(Model::query()->with('relation', fn($query) => $query->orderBy('column')))
->query(Model::query()->with('relation', fn($query) => $query->orderBy('column')))
16 replies
FFilament
Created by capins on 3/14/2025 in #❓┊help
Hello,I have a Table column like this:
perhaps if you already sort the distances in the original table query?
16 replies
FFilament
Created by capins on 3/14/2025 in #❓┊help
Hello,I have a Table column like this:
adding your suffix logic into ->formatStateUsing() seems the easiest fix
16 replies
FFilament
Created by capins on 3/14/2025 in #❓┊help
Hello,I have a Table column like this:
seems filament is smart enough to format the state for each record, but the suffix seems to be for the entire column
16 replies
FFilament
Created by capins on 3/14/2025 in #❓┊help
Hello,I have a Table column like this:
I recreated it quickly and when I remove that it throws Attempt to read property on string
16 replies
FFilament
Created by capins on 3/14/2025 in #❓┊help
Hello,I have a Table column like this:
I think that has to do with your usage of ->listWithLineBreaks()
16 replies
FFilament
Created by capins on 3/14/2025 in #❓┊help
Hello,I have a Table column like this:
because distances is a relationship, the state of the column is the collection of related distances
16 replies
FFilament
Created by delboy1978uk on 3/14/2025 in #❓┊help
Having trouble setting up a belongs to many select
but it shows me a list of the machine centers instead!
because you asked for that ->relationship('machineCenters', ... filament does not know your set up, neither do I.. I'm going to make the assumption that qualityControlStepsare related to machineCenters. in which case you would need to use ->relationship('machineCenters.qualityControlSteps', 'titleColumn')
7 replies
FFilament
Created by fpolli on 3/14/2025 in #❓┊help
Hide table column based on value of another column
hide a table column based on a form might be possible.. but you cant hide a column per record because a table holds multiple records.. thats impossible for any table
14 replies
FFilament
Created by capins on 3/14/2025 in #❓┊help
Hello,I have a Table column like this:
->color(fn($record) => ...) ->suffix(fn$record)=> ...) just add your logic, most methods accept a closure
16 replies
FFilament
Created by fpolli on 3/14/2025 in #❓┊help
Hide table column based on value of another column
or is it? your error says form, but the title says column/table?
14 replies
FFilament
Created by fpolli on 3/14/2025 in #❓┊help
Hide table column based on value of another column
14 replies
FFilament
Created by Cẩn Meo Meo on 2/28/2025 in #❓┊help
Filamentphp v1
upgrade your php version.
4 replies
FFilament
Created by Albeltro on 2/24/2025 in #❓┊help
Add new tab on resource list
5 replies
FFilament
Created by Hakeem on 2/13/2025 in #❓┊help
Stats widget filter
I dont think there is a prebuilt solution, you'd have to create it with a custom page
5 replies
FFilament
Created by Arjen on 2/12/2025 in #❓┊help
Change table columns/filters based on active tab?
should work for filters aswell, $livewire injects the livewire component https://filamentphp.com/docs/3.x/forms/advanced#injecting-the-current-livewire-component-instance
6 replies
FFilament
Created by Arjen on 2/12/2025 in #❓┊help
Change table columns/filters based on active tab?
Tables\Columns\TextColumn::make()
->visible(fn($livewire) => $livewire->activeTab == $your_tab);
Tables\Columns\TextColumn::make()
->visible(fn($livewire) => $livewire->activeTab == $your_tab);
6 replies
FFilament
Created by KingStalker on 2/11/2025 in #❓┊help
how to globally disable create another ?
not sure if thats the intended way to go about it though ( @KingStalker )
10 replies