© 2026 Hedgehog Software, LLC

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

same relationship on multiple wizard steps

Wizard\Step::make(__('step 2'))
          ->schema([
                Forms\Components\Group::make()
                    ->relationship('article')
                    ->schema([some fileds])
            ]),
Wizard\Step::make(__('step 3'))
          ->schema([
                Forms\Components\Group::make()
                    ->relationship('article')
                    ->schema([another fields])
            ]),
...
public function submit(): void
{
    $portal = Portal::create($this->form->getState());
    $this->form->model($portal)->saveRelationships();
only step 2 is saved
Wizard\Step::make(__('step 2'))
          ->schema([
                Forms\Components\Group::make()
                    ->relationship('article')
                    ->schema([some fileds])
            ]),
Wizard\Step::make(__('step 3'))
          ->schema([
                Forms\Components\Group::make()
                    ->relationship('article')
                    ->schema([another fields])
            ]),
...
public function submit(): void
{
    $portal = Portal::create($this->form->getState());
    $this->form->model($portal)->saveRelationships();
only step 2 is saved

how can I make step 2 and 3 as a single relationship?
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

Form Wizard multiple steps
FilamentFFilament / ❓┊help
2y ago
Wizard with steps from relationship
FilamentFFilament / ❓┊help
3y ago
Two fieldsets for the same relationship on two wizard steps not working
FilamentFFilament / ❓┊help
2y ago
Conditional steps on wizard
FilamentFFilament / ❓┊help
2y ago