Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Cushty's avatar
Level 4

wizard steps, sharing from model

Hi I am trying to share the wizard steps from my Model, but it's causing the layout to not be full width and the has skippable steps stops working, Can you shed some light on how to properly setup the wizard to share steps? Thanks

   public function form(Form $form): Form
    {
        return $form->schema([
            Wizard::make(Application::formWizard())
        ]);

    }


    public function hasSkippableSteps(): bool
    {
        return true;
    }

public static function formWizard(): array
    {
        return [
            Step::make('Personal Information')
                ->description('Provide personal details')
                ->schema([
                    Select::make('user_id')
                        ->label('User')
                        ->options(User::all()->pluck('name', 'id'))
                        ->required(),
                    TextInput::make('first_name')
                        ->required(),
                    TextInput::make('last_name')
                        ->required(),
                    TextInput::make('public_profile_name')
                        ->required(),
0 likes
0 replies

Please or to participate in this conversation.