- Issue created by @andybroomfield
- 🇬🇧United Kingdom andybroomfield
Changing
once('geoEntityGeocodeLeaflet', document.getElementById(formId)).forEach(function (form) {
to
once('geoEntityGeocodeLeaflet', document.querySelectorAll('form[id^="' + formId + '"]')).forEach(function (form) {
works. Might not be the most performant though. - 🇳🇱Netherlands ekes
I'm just trying to recreate this. Are there some steps I could follow?
- 🇬🇧United Kingdom andybroomfield
See the linked Github issue above:
- Create a new directory venue with a brand new geo entity as a location. This should geocode the map pin.
- Then edit said directory venue, and edit the location (not delete and replace).
- Clear out the address and try to add a new one. Whilst the autocomplete does replace it, the leaflet map pin and lat / lon fields are not updated.