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
tlegenbayangali
tlegenbayangali15mo ago
->columnSpanFull
shafiqruslan
shafiqruslanOP15mo ago
Thank youuuu
shafiqruslan
shafiqruslanOP15mo ago
How do you knoww? I try to find every documentation and try to look into the classes but couldn't found it @tlegenbayangali
tlegenbayangali
tlegenbayangali15mo ago
I do not remember exactly. I think I saw it in the phpstorm hints.
Want results from more Discord servers?
Add your server