How do you define the layout for a header action form?
I have a simple section, shown below. I've tried using
Grid
and Section
within the ->form()
definition, but I get a type error that the ->form()
argument must be of type Filament\Forms\Components\Component
5 Replies
Update:
I was able to accomplish the desired effect, but it feels wrong. Any input appreciated.
Just put the form fields inside a Group or some other layout component and define the columns there.
Like a Section or a Grid?
Solution
Yes. But there’s actually a form component called Group.
Yep, That did it. Thanks!