Leah Schumann 2023-02-17 09:39:40 -05:00
parent 4562f7679e
commit 487c83e3a0
2 changed files with 4 additions and 3 deletions

View file

@ -215,7 +215,7 @@ export default {
const apiKey = applicationConfig.GOOGLE_PLACES_API_KEY;
this.$loadScript(
`https://maps.googleapis.com/maps/api/js?key=${apiKey}&libraries=places`
`https://maps.googleapis.com/maps/api/js?key=${apiKey}&libraries=places&callback=Function.prototype`
)
.then(() => {
// Script is loaded, initialize the autocomplete textbox

View file

@ -163,7 +163,9 @@ export default {
async setMobileLocation() {
// TODO: Any lookups or actions to be taken before assigning the Mobile Location
const zipCodeData = await this.getZipCodeData(this.internalModel.addressQuestions.zipCode);
const zipCodeData = await this.getZipCodeData(
this.internalModel.addressQuestions.zipCode
);
if (!zipCodeData.isValid) {
this.displayInvalidZipAlert = true;
@ -173,7 +175,6 @@ export default {
this.closeModal();
}
},
},
watch: {