How to make a wizard full width?

Below is my code:
Forms\Components\Wizard::make([
Forms\Components\Wizard\Step::make('Authentication')
->schema([
Forms\Components\TextInput::make('name')
->required()
->maxLength(255),
Forms\Components\TextInput::make('email')
->email()
->required()
->maxLength(255),
Forms\Components\TextInput::make('password')
->password()
->maxLength(255)
->dehydrated(fn ($state) => filled($state))
->required(fn (string $context): bool => $context === 'create'),
Forms\Components\Select::make('roles')
->preload()
->multiple()
->relationship('roles', 'name')
->columnSpan('full'),
]),
Forms\Components\Wizard::make([
Forms\Components\Wizard\Step::make('Authentication')
->schema([
Forms\Components\TextInput::make('name')
->required()
->maxLength(255),
Forms\Components\TextInput::make('email')
->email()
->required()
->maxLength(255),
Forms\Components\TextInput::make('password')
->password()
->maxLength(255)
->dehydrated(fn ($state) => filled($state))
->required(fn (string $context): bool => $context === 'create'),
Forms\Components\Select::make('roles')
->preload()
->multiple()
->relationship('roles', 'name')
->columnSpan('full'),
]),
4 Replies
dalacode
dalacode11mo ago
->columnSpanFull
shafiqruslan
shafiqruslan11mo ago
Thank youuuu
shafiqruslan
shafiqruslan11mo ago
How do you knoww? I try to find every documentation and try to look into the classes but couldn't found it @tlegenbayangali
dalacode
dalacode11mo ago
I do not remember exactly. I think I saw it in the phpstorm hints.