Merge pull request #28166 from frappe/f-181
fix: clear dependent fields on clear link
This commit is contained in:
commit
cec6d4d3d8
1 changed files with 1 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ frappe.ui.form.ControlLink = class ControlLink extends frappe.ui.form.ControlDat
|
|||
me.$link_clear.on("click", function () {
|
||||
me.$input.val("").trigger("input");
|
||||
me.$link.toggle(false);
|
||||
me.validate();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue