leaflet-fusesearch icon indicating copy to clipboard operation
leaflet-fusesearch copied to clipboard

Search starts without input

Open greyeagle opened this issue 7 years ago • 0 comments

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

greyeagle avatar Oct 19 '17 14:10 greyeagle