Revert "Link Field Validation doesn't use Filter criteria defined for link field"
This reverts commit 962fff15c4.
This commit is contained in:
parent
bcae1cc294
commit
099474a441
1 changed files with 0 additions and 5 deletions
|
|
@ -455,11 +455,6 @@ frappe.ui.form.ControlLink = frappe.ui.form.ControlData.extend({
|
|||
fetch = this.frm.fetch_dict[df.fieldname].columns.join(', ');
|
||||
}
|
||||
|
||||
// check if value exist in the filtered dropdown values
|
||||
if(this.$input.cache[doctype][""] && !this.$input.cache[doctype][""].some(d => d.value === value)){
|
||||
value = ""
|
||||
}
|
||||
|
||||
return frappe.call({
|
||||
method:'frappe.desk.form.utils.validate_link',
|
||||
type: "GET",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue