Continue working with this library to create a nice search input field, we got another problem: we require to clean the search input after resetting the field.
We tried to do this by setting keepResult: true, but it have a trade back: it does not show the marker when selecting a result.
Why does this happen?
What should be a better way to clean the search input from out of the LeafLetGeoSearch component?
Continue working with this library to create a nice search input field, we got another problem: we require to clean the search input after resetting the field.
We tried to do this by setting
keepResult: true,
but it have a trade back: it does not show the marker when selecting a result.Why does this happen?
What should be a better way to clean the search input from out of the
LeafLetGeoSearch
component?Thank you