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]
Solution:Jump to solution
Oh just needed to use lg instead of default
```php
Fieldset::make()
->columnSpan(1)
->columns(['lg' => 1])...
8 Replies
So you are saying the code above doesn't work?
Yes there doesn't appear to be a way of overwriting a fieldset to have only one column
Did you try just
->columns(1)
?Yeah that works on everything else apart from a fieldset.
Weird. Sounds like a bug then
In a normal form it should be
columnSpan(2)
though.
Otherwise the fieldset is just 1 columnThat's to overwrite the full colspan π
Oh, so you want a Fieldset that's half width and has 2 columns, sorry π
Solution
Oh just needed to use lg instead of default