Support Forum » User Profile

Forum Replies Created

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • in reply to: No Relationship posts displaying #10397
    DougDoug
    Participant

    Thanks, Anh. I swear I tried both 'from' and 'to' when I was trying to get anything to work. But I just switched it, and sure enough, 'from' pulls in the correct speaker posts.

    Thank you again! Creating these relationships is so awesomely simple and powerful with MB.

    DougDoug
    Participant

    Well, I walked away for a couple hours and came back. Now, the address auto-complete functionality is magically working. I changed nothing. Perhaps something took a while to register with the Maps API.

    The map field is still not working when I click on'Find Address'. And auto-complete on the 'address' field won't work if there is a map field added to the same metabox. But as long as I remove the map field, Geolocation autocomplete works on the 'address' field.

    Now that it's working, I notice what seems to be a bug with Geolocation and autocomplete/autopopulate, at least according to what docs say. It seems that ANY field with an ID that contains 'address', even if the ID doesn't start with 'address' is treated as an auto-complete field. Because of this, any other field that contains address in the ID, such as another documented field ID of 'street_address' can’t get auto-populated.

    See screenshot of my fields rendered on the post page. 'Location name' is 'id'=>'address', 'Address 1' is now 'id'=>'street_address', and 'Address 2' is now 'id'=>'street_address2'. Note how street_address and street_address2 contain placeholder text of 'Enter a location'

    https://cl.ly/1u150h073l2r

Viewing 2 posts - 16 through 17 (of 17 total)