fix: do not validate if options is undefined
This commit is contained in:
parent
2d5c5c7f10
commit
0fd20c7862
1 changed files with 2 additions and 0 deletions
|
|
@ -456,6 +456,8 @@ frappe.ui.form.ControlLink = class ControlLink extends frappe.ui.form.ControlDat
|
|||
this.docname, value);
|
||||
}
|
||||
validate_link_and_fetch(df, options, docname, value) {
|
||||
if (!options) return;
|
||||
|
||||
let field_value = "";
|
||||
const fetch_map = this.fetch_map;
|
||||
const columns_to_fetch = Object.values(fetch_map);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue