SSR-1273. Fix bug on the policy-holder-details page (#706)
This commit is contained in:
parent
61beb2bbe6
commit
332f6b4ec5
1 changed files with 5 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue