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:
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?
Solution:Jump to solution
maybe you could use a form action in the
getFormSchema
, like:
```php
use Filament\Forms\Components\Actions;
...5 Replies
Thanks Matthew, I had already read that documentation but my problem is that in the Select I can't add the registerModalActions(). I don't know if there is a way to do it from this field.
Not clear on exactly what you are trying to achieve...a screenshot would help
Solution
maybe you could use a form action in the
getFormSchema
, like:
Great! Thanks Leandro!