Open Manojkr6637 opened 11 months ago
vue-treeselect-0.4.0\src\mixins\treeselectMixin.js
====Add hero==== function match(enableFuzzyMatch, needle, haystack) { enableFuzzyMatch; // console.log('fuzzysearchfuzzysearch', enableFuzzyMatch, needle, haystack); // const dd = enableFuzzyMatch ? // fuzzysearch(needle, haystack) : // includes(haystack, needle) // console.log("dddddd====testing=", dd, enableFuzzyMatch) const sentence = haystack.toLowerCase(); return sentence.includes(needle.toLowerCase());
}
vue-treeselect-0.4.0\src\mixins\treeselectMixin.js
====Add hero==== function match(enableFuzzyMatch, needle, haystack) { enableFuzzyMatch; // console.log('fuzzysearchfuzzysearch', enableFuzzyMatch, needle, haystack); // const dd = enableFuzzyMatch ? // fuzzysearch(needle, haystack) : // includes(haystack, needle) // console.log("dddddd====testing=", dd, enableFuzzyMatch) const sentence = haystack.toLowerCase(); return sentence.includes(needle.toLowerCase());
}