V12 multiple image attachment


I want to open frappe dialog on button click with multiple image attachment control by using V12 as i have implemented the same on V11 by using below reference link and it is working fine.

But with above reference link i got an error on frappe.upload.make function like ‘Cannot read property ‘make’ of undefined’ in V12.

Is there any solution for the above problem?

The upload API has changed since then, you should use new frappe.ui.FileUploader() instead