© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
2 replies
btx

Custom Action in Table

I am trying to create a custom Action, however I am unable to retrieve the record that I clicked on. What am I doing wrong?
File: FormSubmissionResource::table()

 ->actions([
    Tables\Actions\Action::make('import')
       ->label('Import')
       ->icon('heroicon-o-cloud-upload')
       ->action(function ($data) {
          dd($data); // => []
       })
 ->actions([
    Tables\Actions\Action::make('import')
       ->label('Import')
       ->icon('heroicon-o-cloud-upload')
       ->action(function ($data) {
          dd($data); // => []
       })
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

Custom Table Action
FilamentFFilament / ❓┊help
3y ago
Custom requiresConfirmation() dialog in table Action
FilamentFFilament / ❓┊help
3y ago
return custom table widget in action
FilamentFFilament / ❓┊help
3y ago
Custom table row action
FilamentFFilament / ❓┊help
3y ago