© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•15mo ago•
7 replies
Jpac14

Can I add an import action to a wizard form

              Wizard\Step::make('Students')
                ->icon('heroicon-o-academic-cap')
                ->schema([
                  Actions::make([
                    ImportAction::make(StudentImporter::class)
                  ])
                ])
              Wizard\Step::make('Students')
                ->icon('heroicon-o-academic-cap')
                ->schema([
                  Actions::make([
                    ImportAction::make(StudentImporter::class)
                  ])
                ])


I have this at the moment, but when I load the page I get this error
PHP 8.1.29
10.48.20
Filament\Forms\Components\Actions::Filament\Forms\Components\{closure}(): Argument #1 ($action) must be of type Filament\Forms\Components\Actions\Action, Filament\Actions\ImportAction given
PHP 8.1.29
10.48.20
Filament\Forms\Components\Actions::Filament\Forms\Components\{closure}(): Argument #1 ($action) must be of type Filament\Forms\Components\Actions\Action, Filament\Actions\ImportAction given

https://flareapp.io/share/bP9oERM5
Flare
Filament\Forms\Components\Actions::Filament\Forms\Components{closure}(): Argument #1 ($action) must be of type Filament\Forms\Components\Actions\Action, Filament\Actions\ImportAction given - Occurred on URL http://mackillop.localhost:8000/onboarding
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

Add action to a wizard step
FilamentFFilament / ❓┊help
14mo ago
Add an Action to a Form label or hint
FilamentFFilament / ❓┊help
3y ago
Add action button to form
FilamentFFilament / ❓┊help
3y ago
Add table inside wizard form
FilamentFFilament / ❓┊help
2y ago