FilamentF
Filament14mo ago
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)
                  ])
                ])


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

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
Was this page helpful?