Form\Actions\Action call javascript?

Is it possible to specify a javascript function that should be called first before the Action update occurs? tl;dr, I must first call a 3rd party API from the browser to obtain a token before an Action can successfully complete. I have hacked together a bit of javasript on the page that finds the Action's modal form when the modal is opened, but I am unable to prevent the Filament (livewire?) form submission of the form (i.e. e.preventDefault() ) does not prevent the modal form from performing the Livewire update.
1 Reply
CaptainJoker
CaptainJoker13mo ago
Hi @Dustfurn Did you get any solution to achieve this?
Want results from more Discord servers?
Add your server