Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search and match word only show #534

Open
Manojkr6637 opened this issue Sep 18, 2023 · 1 comment
Open

Search and match word only show #534

Manojkr6637 opened this issue Sep 18, 2023 · 1 comment

Comments

@Manojkr6637
Copy link

No description provided.

@Manojkr6637
Copy link
Author

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());

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant