Merge pull request #2771 from pratu16x7/link-field-string-condition
[minor] link field autocomplete
This commit is contained in:
commit
9f7ae751e2
1 changed files with 1 additions and 1 deletions
|
|
@ -1317,7 +1317,7 @@ frappe.ui.form.ControlLink = frappe.ui.form.ControlData.extend({
|
|||
filter: function(item, input) {
|
||||
var value = item.value.toLowerCase();
|
||||
if(value.indexOf('__link_option') !== -1 ||
|
||||
value.indexOf(input) !== -1) {
|
||||
value.indexOf(input.toLowerCase()) !== -1) {
|
||||
return true;
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue