Fieldset with single column

There doesn't appear to be a way of overwriting a fieldset to have one column (without extending the class and overwrite the setup method).

This code is defaulting to columns ['default' => 1, 'lg' => 2]

Fieldset::make()
    ->columnSpan(1)
    ->columns(['default' => 1])
Solution
Oh just needed to use lg instead of default
Fieldset::make()
    ->columnSpan(1)
    ->columns(['lg' => 1])
Was this page helpful?