now, the clearButton is displayed only when the value is supplied for the input over autocomplete. What is great for post add.
On post edit, the field comes already with the value and there is no clearButton. Can you add detection if the autocomplete field has default value so clearButton is displayed automatically?
Hello, and thank you for creating such a lovely tool! I am wondering if you might be willing to share an unminified version of autosuggest.js just to help with debugging? I have been experiencing some oddness with returns that I would like to get to the bottom of. All the best.
how can I insert the "multi-layer-search" search bar in the center of the map?
Also I have entered some polygons in the search and I don't know how to find the center of the polygon.
Can you help me?
Unacceptable Use
The following uses are strictly forbidden and will get you banned:
Auto-complete search This is not yet supported by Nominatim and you must not implement such a service on the client side using the API.
...
It seems to me that your repo violates Nominatim usage policy by providing client-side autocomplete using Nominatim API. I would propose using other public APIs like https://photon.komoot.io instead in order to stick with fair use.