fix: Add a check for Dynamic Link
This commit is contained in:
parent
12dd61db38
commit
f5792ffefa
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ frappe.ui.form.Form = class FrappeForm {
|
|||
field && field.refresh(fieldname);
|
||||
|
||||
// Validate value for link field explicitly
|
||||
field && field.df.fieldtype === "Link" && field.validate && field.validate(value);
|
||||
field && ["Link", "Dynamic Link"].includes(field.df.fieldtype) && field.validate && field.validate(value);
|
||||
|
||||
me.layout.refresh_dependency();
|
||||
let object = me.script_manager.trigger(fieldname, doc.doctype, doc.name);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue