Arnold Schwarzenegger
Arnold Schwarzenegger
FFilament
Created by zydnrbrn on 1/14/2024 in #❓┊help
Adding headingActions on infolist livewire
Do you need the Actions::make() part? Can't you just pass the actions in the array? Like this
->getHeaderActions([
Actions\Action::make('Download'),
])
->getHeaderActions([
Actions\Action::make('Download'),
])
6 replies
FFilament
Created by fabiocherici0001 on 11/13/2023 in #❓┊help
use with the already existing user table
6 replies
FFilament
Created by Qu on 11/13/2023 in #❓┊help
Searching in big database results in timeout
Out of curiosity, how many rows are we talking about here?
18 replies
FFilament
Created by Qu on 11/13/2023 in #❓┊help
Searching in big database results in timeout
You don't need debugbar if you're familiar with other ways of profiling your app's queries
18 replies
FFilament
Created by Qu on 11/13/2023 in #❓┊help
Searching in big database results in timeout
Hmm this can be a lot of things 1) Install Laravel debugbar to see which query is actually the slowest. It might be that you're running into a n+1 issue 2) Disable pagination on the table to see if it helps 3) Relevant to the 1st point, check pre-load any relationships you might be using
18 replies
FFilament
Created by Sarthak Garg on 11/12/2023 in #❓┊help
advanced form
Something like this might help https://filamentphp.com/docs/3.x/forms/advanced#injecting-the-state-of-another-field There are other example in that page that you can use, depending on what you're trying to do
3 replies
FFilament
Created by Oddman on 11/12/2023 in #❓┊help
Is the Split component for tables busted?
If you have a Split::make without a from I think it will keep it in one row
18 replies
FFilament
Created by Oddman on 11/12/2023 in #❓┊help
Is the Split component for tables busted?
You can have nested splits, keep things in one row if you want
18 replies
FFilament
Created by Oddman on 11/12/2023 in #❓┊help
Is the Split component for tables busted?
This is how I use it and it seams to work
columns([
Split::make([ ... ])
->from('md')
])
columns([
Split::make([ ... ])
->from('md')
])
18 replies
FFilament
Created by Oddman on 11/12/2023 in #❓┊help
Is the Split component for tables busted?
hmm maybe a `from('md') on the entire split?
18 replies
FFilament
Created by Oddman on 11/12/2023 in #❓┊help
Is the Split component for tables busted?
Sorry maybe I copy/pasted something wrong, but try to wrap the entire columns definition in a Split
18 replies
FFilament
Created by Oddman on 11/12/2023 in #❓┊help
Is the Split component for tables busted?
Try this
->columns(
Tables\Columns\Layout\Split::make([
TextColumn::make('id')->sortable(),
CuratorColumn::make('heroImage')->size(40),
Tables\Columns\Layout\Split::make([
TextColumn::make('title')->searchable(),
TextColumn::make('category.title')->color('gray'),
])->from('md'),
self::iconColumn('early_access'),
self::iconColumn('pro_series'),
])
)
->columns(
Tables\Columns\Layout\Split::make([
TextColumn::make('id')->sortable(),
CuratorColumn::make('heroImage')->size(40),
Tables\Columns\Layout\Split::make([
TextColumn::make('title')->searchable(),
TextColumn::make('category.title')->color('gray'),
])->from('md'),
self::iconColumn('early_access'),
self::iconColumn('pro_series'),
])
)
18 replies