From 332f6b4ec5859f56c227e2271f4b814ef7600930 Mon Sep 17 00:00:00 2001 From: Johan Gunawan Date: Wed, 15 May 2024 14:32:52 -0400 Subject: [PATCH] SSR-1273. Fix bug on the policy-holder-details page (#706) --- src/iss-components/address-questions/address-questions.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/iss-components/address-questions/address-questions.vue b/src/iss-components/address-questions/address-questions.vue index 79007af1..4e18f296 100644 --- a/src/iss-components/address-questions/address-questions.vue +++ b/src/iss-components/address-questions/address-questions.vue @@ -203,6 +203,11 @@ export default { // Set up the pressing tab inside address1 field (enter's are caught by Google Autocomplete) this.addressField1.addEventListener('keydown', (e) => { + // If a match has been previously attempted then do nothing + if (this.matchFound !== null) { + return; + } + if (this.addressField1.value?.length > 0 && e.code === 'Tab') { this.fillInAddressUsingFirstItem(); }