Merge branch 'develop' into rlsmerge/2025.03.13-to-develop

This commit is contained in:
CarlNation 2025-03-13 07:03:36 -04:00
commit 8b378fc8f9
3 changed files with 2 additions and 21 deletions

View file

@ -124,10 +124,6 @@ export default {
type: Boolean, type: Boolean,
default: false, default: false,
}, },
isAddressFieldFocused: {
type: Boolean,
default: true,
},
}, },
data() { data() {
return { return {
@ -229,9 +225,6 @@ export default {
).then(() => { ).then(() => {
// When loaded, trigger the setup // When loaded, trigger the setup
this.initializeAutocomplete(); this.initializeAutocomplete();
if (this.isAddressFieldFocused) {
this.addressField1.focus();
}
}); });
}, },
initializeAutocomplete() { initializeAutocomplete() {

View file

@ -19,8 +19,7 @@
ref="customerQuestions" ref="customerQuestions"
v-model="customerQuestions" v-model="customerQuestions"
:validationRules="EmailOrSmsValidationRules" :validationRules="EmailOrSmsValidationRules"
:isEmailOptional="IsEmailOptional" :isEmailOptional="IsEmailOptional" />
:isAddressFieldFocused="IsAddressFieldFocused" />
<alert <alert
ref="alertVinNotFound" ref="alertVinNotFound"
v-if="displayVinNotFoundAlert" v-if="displayVinNotFoundAlert"
@ -465,9 +464,6 @@ export default {
.replaceAll("{custom:vinYmmFound}", vinYmmFound) .replaceAll("{custom:vinYmmFound}", vinYmmFound)
.replaceAll("{custom:vinYmmExpected}", vinYmmExpected); .replaceAll("{custom:vinYmmExpected}", vinYmmExpected);
}, },
IsAddressFieldFocused() {
return false;
},
}, },
watch: { watch: {
customerQuestions: { customerQuestions: {

View file

@ -1,9 +1,6 @@
<template> <template>
<div class="customer-questions"> <div class="customer-questions">
<addressQuestions <addressQuestions ref="addressQuestions" v-model="customerModel.addressQuestions" />
ref="addressQuestions"
v-model="customerModel.addressQuestions"
:isAddressFieldFocused="isAddressFieldFocused" />
<div class="row mb-4"> <div class="row mb-4">
<div class="col"> <div class="col">
<textboxQuestion <textboxQuestion
@ -90,11 +87,6 @@ export default {
}, },
validationRules: String, validationRules: String,
isEmailOptional: Boolean, isEmailOptional: Boolean,
isAddressFieldFocused: {
required: false,
type: Boolean,
default: true,
},
}, },
computed: { computed: {
customerModel: { customerModel: {