© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
5 replies
daerentis

extraAttributes on Bulk Actions not working correctly?

I'm trying to add extraAttributes to a Bulk Action but it is not rendered. It is working on my Single Actions though

->bulkActions([
    Tables\Actions\BulkAction::make('groupCalculation')
        ->icon('heroicon-o-calculator')
        ->action(function (Collection $records) {
            // Doing something...
        })
        ->extraAttributes(['foobar' => 'bar'])
])
->bulkActions([
    Tables\Actions\BulkAction::make('groupCalculation')
        ->icon('heroicon-o-calculator')
        ->action(function (Collection $records) {
            // Doing something...
        })
        ->extraAttributes(['foobar' => 'bar'])
])

Is it missing in the view or is it me using it incorrectly?
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

Bulk Actions
FilamentFFilament / ❓┊help
2y ago
Bulk Actions
FilamentFFilament / ❓┊help
3y ago
FormBuilder FileUpload extraAttributes not working
FilamentFFilament / ❓┊help
16mo ago
Bulk Actions on Table Groups
FilamentFFilament / ❓┊help
3y ago