© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
5 replies
ElCoco

Can a suffixAction be triggered by pressing enter?

I have this form in a filament v3 Page:
public function form(Form $form): Form
{
    return $form
        ->schema([
            Components\TextInput::make('stuff')
            ->suffixAction(
                Action::make('sendStuff')
                ->icon('heroicon-m-clipboard')
                ->action(function () {
                    $response = "Action triggered!"
                })
            ),
            Components\Textarea::make('response')
            ->rows(10),
        ]);
}
public function form(Form $form): Form
{
    return $form
        ->schema([
            Components\TextInput::make('stuff')
            ->suffixAction(
                Action::make('sendStuff')
                ->icon('heroicon-m-clipboard')
                ->action(function () {
                    $response = "Action triggered!"
                })
            ),
            Components\Textarea::make('response')
            ->rows(10),
        ]);
}

I was expecting that the suffixAction will also be triggered by pressing the Enter key but is not the case. I could not find any mention to something like this in the Docs. I guess I am missing something very basic here...
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

Enter key with suffixAction
FilamentFFilament / ❓┊help
3y ago
Sending a form when pressing enter
FilamentFFilament / ❓┊help
3y ago
table column searchable() search on pressing enter
FilamentFFilament / ❓┊help
3y ago
Next step with pressing enter instead of submitting.
FilamentFFilament / ❓┊help
2y ago