FilamentF
Filament11mo ago
morty

Confused about form grid columns and column span.

I have a form that doesn't seem to be acting right and I'm not sure why. I'm sure it's something I'm doing wrong or not understanding.

Looking at the Filament code (trait HasColumns and trait CanSpanColumns), it appears to me that by default there are 1 columns in a form and then at the lg breakpoint it becomes 2 columns and by default it's always column span 1 unless changed for all breakpoints.

Why then, in my form group (the second group) where I've specified 2 columns at the small breakpoint do I still need to explicitely tell it to only span one column.

My code is attached (screenshot because of code folding).
CleanShot_2025-02-12_at_12.28.29.png
CleanShot_2025-02-12_at_12.29.28.png
CleanShot_2025-02-12_at_12.30.20.png
Was this page helpful?