© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
38 replies
Mambi

Custom Bulkaction generate duplicate queries

Hi i'm trying to add a custom bulkaction to a products table but i'm getting duplicate queries
here's my code
public static function table(Table $table): Table
{
return $table
->columns([
Tables\Columns\TextColumn::make('name'),
])
->bulkActions([
Tables\Actions\BulkAction::make('bulk_updates')
->action(function ($livewire, $data, $records) {
//...
})
->form(
function ($records, $data) {
return [
Forms\Components\Select::make('periode')
->label('Période')
->options(fn () => Periode::pluck('name', 'id'))
->required(),
];
}
),
]);
}
am i doing something wrong here ?
sc.png
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Duplicate queries using custom filter
FilamentFFilament / ❓┊help
3y ago
Custom BulkAction
FilamentFFilament / ❓┊help
2y ago
Duplicate queries
FilamentFFilament / ❓┊help
2y ago
canAccess function generate a lot of duplicate queries
FilamentFFilament / ❓┊help
16mo ago