Skip to content

Search #13

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

Open
ARA1985 opened this issue Mar 26, 2023 · 1 comment
Open

Search #13

ARA1985 opened this issue Mar 26, 2023 · 1 comment

Comments

@ARA1985
Copy link

ARA1985 commented Mar 26, 2023

Hi. Thanks for the open source ). This is exactly what is needed to speed up the site.

I wanted to clarify. Why is the search done on the "value" field and not on the "label" field?

And the second. Parameter "closeOnSelect" really doesn't work.

@Arif-un
Copy link
Owner

Arif-un commented Apr 1, 2023

Hi @ARA1985, this library supports react node as label and it will be too complex to search in a react node, also most cases values are the same as label and lowercase so the search feature depends on the value.
I have a target to revamp the library and release a major version with fixes for all issues.

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

2 participants