Merge pull request #2523 from Safelite/feature/Digital/CASH-709
CASH-709
This commit is contained in:
commit
503eca1927
1 changed files with 0 additions and 6 deletions
|
|
@ -452,12 +452,6 @@ export default {
|
||||||
this.loadGooglePlacesAutocompleteScript();
|
this.loadGooglePlacesAutocompleteScript();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeUpdate() {
|
|
||||||
// It is necessary to set focus on the street address on this lifecycle hook when this component is used in a modal.
|
|
||||||
if (!this.addressField1.matches(":focus")) {
|
|
||||||
this.addressField1.focus();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
unmounted() {
|
unmounted() {
|
||||||
this.unloadAutocomplete();
|
this.unloadAutocomplete();
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue