Add Action to Select modal create and update

I have a form with a Template entity and a Select field for the Sender entity which is a table with SMTP data for sending emails. The Sender field is defined like this:
Select::make('sender')
->label(__('From'))
->relationship('sender', 'name')
->searchable()
->preload()
->createOptionForm(Sender::getFormSchema())
->editOptionForm(Sender::getFormSchema())
Select::make('sender')
->label(__('From'))
->relationship('sender', 'name')
->searchable()
->preload()
->createOptionForm(Sender::getFormSchema())
->editOptionForm(Sender::getFormSchema())
But I would like to add to the Actions of the modal a TEST CONFIG button to test the configuration. The problem is that I don't see how to add this Action to the modal from the Select. Any idea?
1 Reply
Want results from more Discord servers?
Add your server