[fix] [link] bind df.control
This commit is contained in:
parent
67223f487c
commit
342fa00f3c
1 changed files with 5 additions and 0 deletions
|
|
@ -964,6 +964,11 @@ frappe.ui.form.ControlLink = frappe.ui.form.ControlData.extend({
|
|||
var me = this;
|
||||
this.setup_buttons();
|
||||
this.setup_autocomplete();
|
||||
if(this.df.change) {
|
||||
this.$input.on("change", function() {
|
||||
me.df.change.apply(this);
|
||||
});
|
||||
}
|
||||
},
|
||||
get_options: function() {
|
||||
return this.df.options;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue