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 starts without input #20

Open
greyeagle opened this issue Oct 19, 2017 · 0 comments
Open

Search starts without input #20

greyeagle opened this issue Oct 19, 2017 · 0 comments

Comments

@greyeagle
Copy link

Hello,
first of all thank you for the great work.
I am searching a large geoJSON for 4 parameters and everything is quite fast. The only disadvantage is that the search starts even with an empty search box. That gives some unexpected results.
If I add a line in leaflet-fusesearch in searchFeatures to check for the input string length it works fine. However I suspect that is not what should be needed for the example at http://dev.cartocite.fr/CultureNantes/ works perfectly fine. What am I doing wrong?

Best

Lars

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