Google Address issue

I added the Google Address snippet and I added the DOM the Maps Javascript link. The address is populated by Google, but it doesn’t get parsed out in the model, so I can’t grab the address bits.

Any ideas? Thank you.

Could you post your code here?

{
“inputType”: “text”,
“label”: “Address”,
“model”: “address”,
“placeholder”: “start typing”,
“required”: true,
“styleClasses”: “col-md-6”,
“type”: “googleAddress”
},

I’m not sure what code you added to the DOM, but the snippet you posted is no longer supported because of how Google changed their API. You may need to build the element from scratch using an HTML element in order to properly pass your API key to the Google Maps API

I used the snippet from the library and added the code I used elsewhere. I also took a look at the example and that seemed the same.

And this is what the docs say, and I’m using the same exact script: https://developers.google.com/maps/documentation/javascript/places-autocomplete

What am I missing?

Per Charles, this snippet works:

{
“inputType”: “text”,
“label”: “Type a place or address”,
“model”: “address”,
“onPlaceChanged”: “this key needed”,
“onPlaceChangedxx”: “this key needed”,
“placeholder”: “start typing …”,
“required”: true,
“styleClasses”: “col-md-6”,
“type”: “googleAddress”
}