Fixed
Project:
Geolocation Field
Version:
4.1.0
Component:
Leaflet API
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2026 at 12:47 UTC
Updated:
10 Nov 2026 at 17:35 UTC
Jump to comment: Most recent
When I try to add markers to a Geolocation field the coordinates are not always filled. Using Firefox the first marker is filled, for the following I have to add another entry manually first, otherwise the coordinates remain empty. With Chrome even the first coordinate is not filled.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
shank115 commentedI can reproduce this when the field is inside a Paragraph. Only the first marker gets saved. The widget can't find the "Add another item" button because inside a paragraph the button's name has a prefix.
Changing
[name="..._add_more"]to[name$="..._add_more"]in FieldWidgetBase.js fixes it for me.@janc48 is your field inside a Paragraph or other nested form?
Comment #3
janc48 commented@shank115 you are totally right, I am using the field inside a paragraph. Good guess!
Comment #6
christianadamski commented