FilamentF
Filament3y ago
mxc

Modal Form in Action Specify Columns?

Hi all,

I have an action that pops up a model form

Action::make("Add")
                ->icon("heroicon-m-plus")
                ->label("Add")
                ->form(...


The form method takes an schema array as input. How can I tell it I want it split in two columns? ->columns(2) doesn't work. This is in a Livewire component.
Solution
Wrap your form fields in a Grid and proceed as normal.
Was this page helpful?