F
Filament3mo ago
Gush

ColumnSpan

I want a schema to have 3 columns but i cant workaround how to make two inputs take 50 50 of the space.
3 Replies
Gush
GushOP3mo ago
per example: first row of inputs is a columns(1) and a columns(2) and second row i want it to be a columns(1.5) columns(1.5) if that would work
bardolf_6969
bardolf_69693mo ago
break it up using grids or sections i.e.
Grid::make(2)
->schema([
Input::make('first'),
Grid::make(2)
->schema([
Input::make('second'),
Input::make('third')
]),
Input::make('fourth'),
Input::make('fifth'),
])
Grid::make(2)
->schema([
Input::make('first'),
Grid::make(2)
->schema([
Input::make('second'),
Input::make('third')
]),
Input::make('fourth'),
Input::make('fifth'),
])

Did you find this page helpful?