Can't cancel the submitted document and giving the below errors in the console

Uncaught TypeError: me.script_manager.trigger(…).done is not a function
at form.min.js:824
at Class.primary_action (desk.min.js:813)
at HTMLButtonElement. (desk.min.js:6386)
at HTMLButtonElement.dispatch (jquery.min.js:3)
at HTMLButtonElement.$event.dispatch (report.min.js:2967)
at HTMLButtonElement.r.handle (jquery.min.js:3)

did you add any custom script on Material Issue ?

No ,I didn’t add any custom script
Thank you for replying me

if you werent done any custom script or changes please try do update

Thanks

Thank you… But i didn’t do anything

try update and share if its fixed :slight_smile:

Hi,

you can check this solution.

thanks and regards

Sorry to trouble you but where i have to change that function…
Thanks for replying me and for the answer…

~/frappe-bench/sites/assets/js/form.min.js

Thank you its working…