I created new controller for custom view , i need to know the event for submitting image (when the file uploaded ) and when the uploaded image removed
thanks
this.image_view_field = frappe.ui.form.make_control({
df: {
"fieldtype": "AttachImage",
"fieldname": "Product Image View"
},
parent: this.wrapper.find(".products-attach-c")
})
this.image_view_field.make_input();
this.image_view_field.$input.on("click", function() {
console.log("uploaded")
});