© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•15mo ago•
4 replies
Punyapal Shah

how do you test `extraModalActions`?

example code of table (it works fine in UI).
->actions([
    EditAction::make('edit-post')
        ->iconButton()
        ->form($this->schema())
        ->extraModalActions([
            DeleteAction::make('delete-post')
            ->iconButton()
            ->cancelParentActions(),
        ]),
], ActionsPosition::BeforeColumns);
->actions([
    EditAction::make('edit-post')
        ->iconButton()
        ->form($this->schema())
        ->extraModalActions([
            DeleteAction::make('delete-post')
            ->iconButton()
            ->cancelParentActions(),
        ]),
], ActionsPosition::BeforeColumns);
Solution
solution
Livewire::test(ListPost::class)
    ->loadTable()
    ->mountTableAction(['edit-post', 'delete-post'], $post)
    ->callMountedTableAction();
Livewire::test(ListPost::class)
    ->loadTable()
    ->mountTableAction(['edit-post', 'delete-post'], $post)
    ->callMountedTableAction();
Jump to solution
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

How do you test repeaters?
FilamentFFilament / ❓┊help
3y ago
How do you test FileUpload input fields?
FilamentFFilament / ❓┊help
3y ago
stacking table rows, how do you do this?
FilamentFFilament / ❓┊help
2y ago
how do you submit a plugin
FilamentFFilament / ❓┊help
4mo ago