© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•4mo ago•
6 replies
Eugen Pașca

Nested modal actions inside Infolist action modal not opening

Hey

I’ve encountered an issue when using modal actions inside another modal, specifically within an Infolist action on a
ViewRecord
ViewRecord
page.


The action is defined inside an Infolist schema (in a Section ) on a viewRecord page.
The action opens a modal — this works fine.
In that modal’s footer, I have three other actions (buttons) that should each open another modal (like confirmation dialogs or schemas).


The problem:
When I click those footer actions:
The button loading icon flases and nothing hapens
No error in the console, No DD, no nothing

If i move the exact same component to the
getHeaderActions()
getHeaderActions()
on the same
ViewRecord
ViewRecord
page, things works as expected.

Here is my code

class GeneratePVDocument extends Action
{
    public static function getDefaultName(): ?string
    {
        return 'xxx';
    }

    protected function setUp(): void
    {
        parent::setUp();

        $this->slideOver();

        $this->schema(function (): array {


            return [
                // ... Some schema components
            ];
        });

        $this->extraModalFooterActions(fn (Action $action): array => [
            $action->makeModalAction('namirial'),
            $action->makeModalAction('pad'),
            $action->makeModalAction('printed')
                ->label('Semnează Fizic')
                ->action(function (Reservation $record, GenerateContentAction $gtb, array $data): void {
                    dd($data);
                }),
        ]);
    }

}
class GeneratePVDocument extends Action
{
    public static function getDefaultName(): ?string
    {
        return 'xxx';
    }

    protected function setUp(): void
    {
        parent::setUp();

        $this->slideOver();

        $this->schema(function (): array {


            return [
                // ... Some schema components
            ];
        });

        $this->extraModalFooterActions(fn (Action $action): array => [
            $action->makeModalAction('namirial'),
            $action->makeModalAction('pad'),
            $action->makeModalAction('printed')
                ->label('Semnează Fizic')
                ->action(function (Reservation $record, GenerateContentAction $gtb, array $data): void {
                    dd($data);
                }),
        ]);
    }

}


Does any of you had the same issue? Am i doing something wrong?
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

Action modal not opening
FilamentFFilament / ❓┊help
3y ago
Modal Actions on Infolist
FilamentFFilament / ❓┊help
3y ago
Actions inside modal
FilamentFFilament / ❓┊help
3y ago
Nested Modal Action
FilamentFFilament / ❓┊help
3y ago