79140143

Date: 2024-10-30 08:00:04
Score: 1
Natty:
Report link

The problem is you are trying to handle it from the beforeSave() method. You should write it in the getHeaderActions().

In the getHeaderActions() make the custom save action, then within use the - >requiresConfirmation() function, and - > modalSubHeading('Are you sure you want to save these changes?')

I hope it helps.

Reasons:
  • Whitelisted phrase (-1): hope it helps
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: varzoeaa