How To Improve A Standard Control

I read this article in App Development Tutorial :

How To Improve A Standard Control

but I need more information to understand the concept.

Could any body provide more reference for this subject or more easy to understand example ?

Regards,
Mohammed Redha

1 Like

@Mohammed_Redha, can you tell what are the information or clarification that do you need? I wrote this article!

dear @max_morais_dmm ,
I am trying to overwrite this. controlData event

my custom Doctype js:

frappe.ui.form.ControlSignature = frappe.ui.form.ControlData.extend({
	make: function() {
         alert("Hello");
	}
});

also where to put this js code. I want to apply it only in custom DocType

thanks in advance

@Dream, if you want to update signature, just do

frappe.ui.form.ControlSignature = frappe.ui.form.ControlSignature.extend({
  make: function() {
    alert("Hello");
  }
});

You should put in your app_js file registered into the hooks.py

If it sounds a soup of letters, https://frappe.io/docs/user/en/guides/app-development

1 Like