Anyone got the dialog.confirm to work with the saveRecord on a client script? I know it returns a promise and does not stop the execution. Is there a way to stop the execution? Or do we have to use the confirm (native browsers confirm dialog). Thanks in advance
b
battk
07/16/2024, 1:05 AM
the usual workaround is returning false to stop the saveRecord, and then later doing the equivalent of clicking the save button again (i personally favor selecting the save button and clicking it)
battk
07/16/2024, 1:06 AM
its unnecessary dom manipulation if you can just get away with using confirm
r
reza.seedin
07/16/2024, 1:08 AM
Oh I see interesting. Yeah will stick to native confim them. Hope NS adds a param make the promise a option flag or something on the dialog.cofirm