SSR-1942 use fillInAddressUsingFirstItem instead for address-questions focus out
This commit is contained in:
parent
d47b86e0cd
commit
62b7f318c2
1 changed files with 1 additions and 4 deletions
|
|
@ -13,7 +13,7 @@
|
||||||
disableAutoFill
|
disableAutoFill
|
||||||
validationRules="street-address-required"
|
validationRules="street-address-required"
|
||||||
@keydown.enter.prevent
|
@keydown.enter.prevent
|
||||||
@focusout="onAutocompleteFocusOut()" />
|
@focusout="fillInAddressUsingFirstItem()" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<transition
|
<transition
|
||||||
|
|
@ -280,9 +280,6 @@ export default {
|
||||||
self.displayVerificationWarning = self.matchingIndirectly;
|
self.displayVerificationWarning = self.matchingIndirectly;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
onAutocompleteFocusOut() {
|
|
||||||
this.showAllFields = true;
|
|
||||||
},
|
|
||||||
fillInAddressUsingFirstItem() {
|
fillInAddressUsingFirstItem() {
|
||||||
const addressValue = this.addressField1.value;
|
const addressValue = this.addressField1.value;
|
||||||
if (addressValue && addressValue.length > 0) {
|
if (addressValue && addressValue.length > 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue