How do I properly add save button to form?
This is my form function and I get this error
Filament\Forms\ComponentContainer::Filament\Forms\Concerns\{closure}(): Argument #1 ($component) must be of type Filament\Forms\Components\Component, Filament\Forms\Components\Actions\Action given
How do I properly make a save button for the form? adding Action::make causes an error8 Replies

Lmao my brother in christ, what is that form? You've got everything mixed up.
I suggest you go back to the docs because you've confused a lot of things.
FWIW, here is a sample custom page form
Also, to get rid of the error, change your form to this
Sorry about that, still quite new with this one, trying my best how to use this but I often really get confused.
Thanks for this sample. Maybe I should try keeping the view organized. Most of my answers also came from like other peoples samples from the websearch/forums hehe
I suggest you focus on the docs when starting, the examples there are simple and straightforward
Should this be on the view file?
Just confused because I often use this syntax in the view.
Yes, a more complete example would be something like this
Where can I read a documentation about calling the right component
<x-filament-panels::page>
or <x-filament::section>
. or <x-filament-panels::page>
sometimes I see this <x-filament::section>
and get confused with this one why others have -panels>
I'm guessing you're not using panels so this is what you need
https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component