removing addressfield focus as we are no longer using inside modal
This commit is contained in:
hiteshkumar87 2025-05-16 13:14:04 +05:30
parent 9f2736b821
commit 8004028d3f

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();
},