Merge pull request #2523 from Safelite/feature/Digital/CASH-709

CASH-709
This commit is contained in:
hiteshkumar87 2025-05-16 14:48:34 +05:30 committed by GitHub
commit 503eca1927
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -452,12 +452,6 @@ export default {
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() {
this.unloadAutocomplete();
},