How to insert data in a custom action
I have pages, let's call it the events table. in the resource I have initialized the events model. I also added a relation to the joins table without creating a model. how can I get some attributes into the joins table?
in figure 2, I want there to be a form in the modals to select participant or visitor. later the data goes into the joins table with the attributes user_id, events_id, options


1 Reply
you can fill the form of the modal action
https://filamentphp.com/docs/3.x/actions/modals#filling-the-form-with-existing-data