Reposition default page buttons
How do I reposition the default Save/Create buttons in a resource page? Ideally within a Card component but at the top right would also be fine.
8 Replies
wire:click="save"
wire:click="create"
Thanks for this. Not wanting to sound completely stupid, but how can I add those actions as part of a form's
schema
?You render your own view, you don't use filament's actions and you add your own buttons within the form tags of the view
Thank you very much. I always forget about that option.
Hang on. So are talking about creating a new
View
form component with buttons in it?Maybe you can checkout #drop-in-action ?
Yeah i tried that, but when I put
save
in the action i got some exceptions.
I could have sworn that I had done this natively before.i think you can add an action into the getActions() array of the page
which call
save()
on the LW component
getActions() appear in the top rightCheers Dan, that sounds more like what i had going on before π