© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
wulfheart

Using Actions in Forms as submit button

Hello,

currently I have my custom form defined as followed:
return $form
            ->schema([
                TextInput::make('Email')
                    ->type('email')
                    ->email()
                    ->label('Email')
                    ->required(),
                TextInput::make('Password')
                    ->label('Passwort')
                    ->required()
                    ->password(),
                Actions::make([
                    Action::make('register')
                        ->label('Registrieren')
                        ->button()
                    ->submit()
                ])->fullWidth()
            ])
            ->statePath('data');
return $form
            ->schema([
                TextInput::make('Email')
                    ->type('email')
                    ->email()
                    ->label('Email')
                    ->required(),
                TextInput::make('Password')
                    ->label('Passwort')
                    ->required()
                    ->password(),
                Actions::make([
                    Action::make('register')
                        ->label('Registrieren')
                        ->button()
                    ->submit()
                ])->fullWidth()
            ])
            ->statePath('data');


I would somehow like to be able to define the action as the submit for the form. Is there any way I can achieve this?
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

submit button
FilamentFFilament / ❓┊help
2y ago
Disable Submit Button
FilamentFFilament / ❓┊help
3y ago
Wizard submit button
FilamentFFilament / ❓┊help
3y ago