F
Filament2mo ago
frame

Globally set single column for forms/infolists

Is it possible to set all the forms and infolists to have a single column only? Or alternatively set all the infolist/form elements to columnSpanFull?
Solution:
So something like this maybe ```php use Filament\Forms\Components\Checkbox; Checkbox::configureUsing(function (Checkbox $checkbox): void {...
Jump to solution
2 Replies
Matthew
Matthew2mo ago
Solution
Matthew
Matthew2mo ago
So something like this maybe
use Filament\Forms\Components\Checkbox;

Checkbox::configureUsing(function (Checkbox $checkbox): void {
$checkbox->columnSpanFull();
});
use Filament\Forms\Components\Checkbox;

Checkbox::configureUsing(function (Checkbox $checkbox): void {
$checkbox->columnSpanFull();
});
but for all form fields and infolist entries

Did you find this page helpful?