© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
1 reply
Krzysztof

Testing formActions

I have a following footer actions:

->footerActions([
    fn (string $operation): Action => Action::make('saveBasicDetails')
        ->label('Save changes')
        ->action(function (Section $component, EditRecord $livewire) {
            $livewire->saveFormComponentOnly($component);

            Notification::make()
                ->title('Basic details saved')
                ->success()
                ->send();
        })
        ->visible($operation == 'edit'),
])
->footerActions([
    fn (string $operation): Action => Action::make('saveBasicDetails')
        ->label('Save changes')
        ->action(function (Section $component, EditRecord $livewire) {
            $livewire->saveFormComponentOnly($component);

            Notification::make()
                ->title('Basic details saved')
                ->success()
                ->send();
        })
        ->visible($operation == 'edit'),
])


Is there a way to test it? It is inside a section of the form
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

Testing
FilamentFFilament / ❓┊help
3y ago
Testing Builders
FilamentFFilament / ❓┊help
9mo ago
testing performance
FilamentFFilament / ❓┊help
12mo ago
Testing Repeater
FilamentFFilament / ❓┊help
2y ago