commit
f6fe4dae70
1 changed files with 1 additions and 1 deletions
|
@ -534,7 +534,7 @@
|
|||
const nodeText = node.elm ? node.elm.textContent : node.text;
|
||||
return `${str} ${nodeText}`;
|
||||
}, '') || '';
|
||||
const stringValues = this.filterByLabel ? JSON.stringify([label]) : JSON.stringify([value, label, textContent]);
|
||||
const stringValues = this.filterByLabel ? [label].toString() : [value, label, textContent].toString();
|
||||
const query = this.query.toLowerCase().trim();
|
||||
return stringValues.toLowerCase().includes(query);
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue