F
Filament15mo 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(...
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.
Jump to solution
4 Replies
Solution
awcodes
awcodes15mo ago
Wrap your form fields in a Grid and proceed as normal.
mxc
mxcOP15mo ago
Thanks @awsqed
awsqed
awsqed15mo ago
you're welcome tofu

Did you find this page helpful?