© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
7 replies
Abi

Standalone Table with Row Actions not working

I have the following table actions for my standalone table.

public function getTableActions(): array
    {
        return [
            Action::make('Edit')->form($this->getFormSchema())->modalWidth('md')->action(function ($data) {
                $this->company->benefits()->updateExistingPivot($data['id'], ['benefit_description' => $data['description']]);
            }),
            Action::make('Delete')->requiresConfirmation()->action(function ($data) {
                $this->company->benefits()->detach($data['id']);
            }),
        ];
    }
public function getTableActions(): array
    {
        return [
            Action::make('Edit')->form($this->getFormSchema())->modalWidth('md')->action(function ($data) {
                $this->company->benefits()->updateExistingPivot($data['id'], ['benefit_description' => $data['description']]);
            }),
            Action::make('Delete')->requiresConfirmation()->action(function ($data) {
                $this->company->benefits()->detach($data['id']);
            }),
        ];
    }


Not sure why, but clicking on the
Edit
Edit
or
Delete
Delete
actions does nothing.
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

table actions not working
FilamentFFilament / ❓┊help
15mo ago
Chain table row actions
FilamentFFilament / ❓┊help
12mo ago
Conditional Table Row Actions
FilamentFFilament / ❓┊help
3y ago
Standalone Actions
FilamentFFilament / ❓┊help
3y ago