36864
36864
FFilament
Created by joao nivaldo on 8/21/2023 in #❓┊help
Install in Laravel 9 the Form and Table Builder
Why are you requiring 2.0 specifically instead of ^2.0?
13 replies
FFilament
Created by 36864 on 8/11/2023 in #❓┊help
How to access selected toggleable columns
That's not available in the Resource class's getTable() method. I found the session variable that holds the information and now I'm just accessing that. Thanks.
4 replies
FFilament
Created by 36864 on 6/21/2023 in #❓┊help
Keeping labels when using a Split in a table
This adds a description under each row's value for that column, which will have to suffice for this case. Thanks.
4 replies
FFilament
Created by John Parker on 4/6/2023 in #❓┊help
Recommended approach for replacing Filament login with Jetstream?
In your filament.php config file, set auth.pages.login to null and make sure your guard is the same as you're using for jetstream
24 replies
FFilament
Created by 36864 on 3/15/2023 in #❓┊help
Duplicate queries using bulk action
There are still duplicate queries for just fetching the selected entries though.
select * from `account_entries` where `account_entries`.`id` in ('218059', '218058', '218055') and `account_entries`.`deleted_at` is null order by `entry_date` desc
select * from `account_entries` where `account_entries`.`id` in ('218059', '218058', '218055') and `account_entries`.`deleted_at` is null order by `entry_date` desc
This one query is repeated 5 times when opening the bulk action form. Culprit seems to be Conerns/CanSelectRecords. Is there any way this can be cached for the request?
5 replies
FFilament
Created by 36864 on 3/15/2023 in #❓┊help
Duplicate queries using bulk action
Sorry for late reply, had to switch to another project for a while. Wrapping the options paramter in fn() => did the trick. I'll remember to do that in the future.
5 replies
FFilament
Created by 36864 on 3/15/2023 in #❓┊help
Accessing current selection in bulk action form
I figured out you can get the records injected into the callback as such
BulkAction::make('changeProcess')
->form(
function (Collection $records) {
//do things with my records
})
BulkAction::make('changeProcess')
->form(
function (Collection $records) {
//do things with my records
})
Thanks!
3 replies