How to Add Custom Action Buttons to RelationManager Modal
Normally when I want to add custom actions to a form, I'll use the getHeaderActions method in the pages directory. However, this doesn't exist for relation managers. Is there any way to add a custom action button to my relation manager form/page? In my case I want to attach a "send email" button to the form that opens up in the relation manager modal.
3 Replies
It looks like there's a way to attach custom action buttons to sections as headerActions. Is there another way though?
maybe using extraModalFooterActions in the attach action
https://filamentphp.com/docs/3.x/actions/modals#adding-an-extra-modal-action-button-to-the-footer
Not quite what I was looking for. To solve this I just made the create and edit buttons redirect to the resource's create and edit pageas.