Home Forums ACF PRO Google maps deletes value on populated data


Google maps deletes value on populated data

  • Hello,

    I have custom post type that is populated with a CSV file.
    In the chrome inspector I have the div.acf-google-map and inside I have a hidden field with the correct data:
    <input name="acf[field_5b0bcd26a5931][field_5b0ec846aa1a6][0][field_5b14eea0650b3][field_5b0bcce2a5930][address]" value="6690 Edwards Boulevard - Mississauga, ON, , Canada" data-name="address" type="hidden">
    But the is empty is there solution to this ?


  • The only workaround to fix this is modifying the core of ACF.

    File assets/js/acf-input.js
    Changing this :
    this.$search().val( val.address );
    for this:

    Is this a bug or am i missing something.

  • Any way to sollve this ? hte previews modification on the core doesn’t work wil multiple map on the same page.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Google maps deletes value on populated data’ is closed to new replies.