Confirmation message on custom action modal
I had an expectation that chaining the requiresConfirmation() method to my custom page action in which form() and action() is defined would display the confirmation modal only when submit button is click. However, it displays as part of the action modal instead. Would appreciate any help to tackle this.
p/s: the whole purpose of this is to prevent user accidentally submit on enter.
p/s: the whole purpose of this is to prevent user accidentally submit on enter.
