From d62bec9fb2713e07dac2ed4e0946c5f44a6ddac2 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Tue, 26 May 2026 15:39:11 -0400 Subject: [PATCH] limit response on preCheck --- src/iss-components/address-questions/address-questions.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/iss-components/address-questions/address-questions.vue b/src/iss-components/address-questions/address-questions.vue index 5d9b8336..4b617085 100644 --- a/src/iss-components/address-questions/address-questions.vue +++ b/src/iss-components/address-questions/address-questions.vue @@ -199,7 +199,7 @@ export default { el.style.removeProperty('background-image'); // Remove the Google Maps icon from the address field el.placeholder = ''; // Optionally, update the placeholder to indicate manual entry } - } + } this.showAllFields = true; // Show the address fields so the user can manually enter their address if Google Maps fails to load }; @@ -218,7 +218,7 @@ export default { return; } else { const checkService = new window.google.maps.places.PlacesService(document.createElement('div')); - checkService.getDetails({ placeId: 'ChIJN1t_tDeuEmsRUsoyG83frY4' }, (place, status) => { + checkService.getDetails({ placeId: 'ChIJN1t_tDeuEmsRUsoyG83frY4', fields: ['name'] }, (place, status) => { if (status === window.google.maps.places.PlacesServiceStatus.OK) { this.autocomplete = new window.google.maps.places.Autocomplete(document.getElementById('autocomplete'), { componentRestrictions: { country: ['us'] },