reduce width checbox on repeater field

Repeater::make('piutang') ->deletable(false) ->addable(false) ->orderable(false) ->columnSpanFull() ->columns(7) ->schema([ Checkbox::make('check') ->live() ->extraAttributes(['class' => 'w-5']),
No description
2 Replies
Tieme
Tieme8mo ago
Dont use extraAttributes Best way to do this is using columnspan https://filamentphp.com/docs/3.x/forms/layout/grid#controlling-how-many-columns-a-component-should-span
Repeater::make('piutang')
->columnSpanFull()
->columns(12)
->schema([
Checkbox::make('check')
->live()
->columnSpan(1),
Repeater::make('piutang')
->columnSpanFull()
->columns(12)
->schema([
Checkbox::make('check')
->live()
->columnSpan(1),
And make columnSpan(2) on the other fields
jepewsykes
jepewsykesOP7mo ago
12 is to much for me thx btw
Want results from more Discord servers?
Add your server