remove button from modal

Hello, when I create a modal in an Action it adds 2 buttons, Cancel and Submit. Is it possible to leave only one e with the Close label? Thanks
5 Replies
Dan Harrin
Dan Harrin2y ago
yes replace Action with ViewAction
joao nivaldo
joao nivaldoOP2y ago
I didn't understand. Can you give an example?
joao nivaldo
joao nivaldoOP2y ago
I'm doing it like this.
Dan Harrin
Dan Harrin2y ago
ViewAction::make('show')
joao nivaldo
joao nivaldoOP2y ago
Thanks
Want results from more Discord servers?
Add your server