diff --git a/src/bundle/Resources/public/js/scripts/fieldType/ezgmaplocation.js b/src/bundle/Resources/public/js/scripts/fieldType/ezgmaplocation.js index bc9de0ba4f..8445fe9ba3 100644 --- a/src/bundle/Resources/public/js/scripts/fieldType/ezgmaplocation.js +++ b/src/bundle/Resources/public/js/scripts/fieldType/ezgmaplocation.js @@ -493,6 +493,9 @@ }; const map = Leaflet.map(field.querySelector('.ez-data-source__map'), mapConfig); + longitudeInput.value = longitudeInput.dataset.value.replace(',', '.'); + latitudeInput.value = latitudeInput.dataset.value.replace(',', '.'); + /** * Updates map state to show location with provided coordinates * diff --git a/src/bundle/Resources/views/fieldtypes/edit/ezgmaplocation.html.twig b/src/bundle/Resources/views/fieldtypes/edit/ezgmaplocation.html.twig index 2faae023a1..3e77e057d4 100644 --- a/src/bundle/Resources/views/fieldtypes/edit/ezgmaplocation.html.twig +++ b/src/bundle/Resources/views/fieldtypes/edit/ezgmaplocation.html.twig @@ -6,8 +6,8 @@