[hotfix] refresh dependancy after values are set in doc
This commit is contained in:
parent
ead7056167
commit
69eb8934c0
1 changed files with 6 additions and 2 deletions
|
|
@ -33,11 +33,15 @@ frappe.ui.FieldGroup = frappe.ui.form.Layout.extend({
|
|||
}
|
||||
|
||||
$(this.body).find('input').on('change', function() {
|
||||
me.refresh_dependency();
|
||||
frappe.run_serially([
|
||||
() => me.refresh_dependency()
|
||||
]);
|
||||
})
|
||||
|
||||
$(this.body).find('select').on("change", function() {
|
||||
me.refresh_dependency();
|
||||
frappe.run_serially([
|
||||
() => me.refresh_dependency()
|
||||
]);
|
||||
})
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue