Custom action to trigger modal of another resource
I have made custom action in my customer resource like the screenshot, i want that action to trigger payment create modal. I can go to payment.index route but i want the create modal to be open
4 Replies
I don't think you can open another resource modal, but you can custom the action using this https://filamentphp.com/docs/2.x/admin/pages/actions#custom-forms, instead of opening another resource modal, you can open modal that have another resource forms etc
And please don't repost questions
The example given is inserting to the current table, i want to insert to another table
You can put
$data = new Model
inside action and perform createI will try it