mcguffin / acf-openstreetmap-field

WordPress ACF Field for OpenStreetMap
https://wordpress.org/plugins/acf-openstreetmap-field/
GNU General Public License v3.0
107 stars 22 forks source link

Duplicate Search Field When Used in Repeater #15

Closed cgrymala closed 5 years ago

cgrymala commented 5 years ago

I am working on creating a Repeater field that allows a user to add business location information to their user profiles. I want the individual location information to be grouped together, so I've created Repeater fields rather than allowing them to add multiple markers to an individual OpenStreetMap field.

When I add a new row to the Repeater field, everything seems to work, except that the new OpenStreetMap field has two search fields above it. The first search field does not appear to do anything; the second search field works just fine.

Once I save the information, and the page reloads, the fields look and act the way they should; this only happens when adding a new row. I've attached a screenshot showing the duplicate search fields.

I am using ACF Pro 5.8.1 and installed the ACF Field OpenStreetMap plugin from your master branch today (it says it's v0.1.12).

image