Split component only takes up half the form

public static function form(Form $form): Form
{
return $form
// ->extraAttributes(['max-width' => '100%'])
->schema([
Split::make([
Section::make([
TextInput::make('title'),
Textarea::make('content'),
]),
Section::make([
Toggle::make('is_published'),
Toggle::make('is_featured'),
])->grow(false),
])->from('md')
]);
}
public static function form(Form $form): Form
{
return $form
// ->extraAttributes(['max-width' => '100%'])
->schema([
Split::make([
Section::make([
TextInput::make('title'),
Textarea::make('content'),
]),
Section::make([
Toggle::make('is_published'),
Toggle::make('is_featured'),
])->grow(false),
])->from('md')
]);
}
No description
Solution:
try Split::make([])->columnSpanFull()...
Jump to solution
2 Replies
Solution
Lara Zeus
Lara Zeus3mo ago
try Split::make([])->columnSpanFull()
Matthew
Matthew3mo ago
Thanks! I thought I tried it :p