+
diff --git a/src/layouts/vin-lookup/vin-lookup.vue b/src/layouts/vin-lookup/vin-lookup.vue
index 036277395..851b5e012 100644
--- a/src/layouts/vin-lookup/vin-lookup.vue
+++ b/src/layouts/vin-lookup/vin-lookup.vue
@@ -57,7 +57,6 @@
isRequired
disableAutoFill
validationRules="email-address-required|email-address-format"
- semiAggressiveValidation
/>
diff --git a/src/router/index.js b/src/router/index.js
index 74ee110de..2b2d09859 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -46,6 +46,7 @@ const routes = [
// If the saved session has timed out, clear the session, execute 404 logic.
if (getFunnelCookie() !== null && !isSavedSessionStillActive()) {
+ await baseMixin.methods.dispatchStoreAction(storeActions.RESET_STATE);
await GoToFunnelStartOn404(next);
}
diff --git a/src/ux-components/list-button-horizontal/list-button-horizontal.vue b/src/ux-components/list-button-horizontal/list-button-horizontal.vue
index eef4be443..dfd322cb3 100644
--- a/src/ux-components/list-button-horizontal/list-button-horizontal.vue
+++ b/src/ux-components/list-button-horizontal/list-button-horizontal.vue
@@ -78,6 +78,10 @@ export default {
validationRules: String,
selectedValues: [Array, String],
hasError: Boolean,
+ clearOnUnmount: {
+ type: Boolean,
+ default: true
+ }
},
data() {
return {
@@ -92,9 +96,11 @@ export default {
: this.selectedValues[0];
}
},
- unmounted() { // needed to clear this button's selectedValues if it is removed
- this.checkValue = false;
- this.handleCheckChange();
+ unmounted() { // needed to clear this button's selectedValues if it is removed to keep validation in sync
+ if (this.clearOnUnmount) {
+ this.checkValue = false;
+ this.handleCheckChange();
+ }
},
methods: {
displayLoader() {
diff --git a/src/ux-components/list-button/list-button.vue b/src/ux-components/list-button/list-button.vue
index f09384934..861619093 100644
--- a/src/ux-components/list-button/list-button.vue
+++ b/src/ux-components/list-button/list-button.vue
@@ -78,6 +78,10 @@ export default {
validationRules: String,
selectedValues: [Array, String],
hasError: Boolean,
+ clearOnUnmount: {
+ type: Boolean,
+ default: true
+ }
},
data() {
return {
@@ -92,9 +96,11 @@ export default {
: this.selectedValues[0];
}
},
- unmounted() { // needed to clear this button's selectedValues if it is removed
- this.checkValue = false;
- this.handleCheckChange();
+ unmounted() { // needed to clear this button's selectedValues if it is removed to keep validation in sync
+ if (this.clearOnUnmount) {
+ this.checkValue = false;
+ this.handleCheckChange();
+ }
},
methods: {
displayLoader() {
diff --git a/src/ux-components/list-card/list-card.vue b/src/ux-components/list-card/list-card.vue
index 264d7c299..88aad0b6a 100644
--- a/src/ux-components/list-card/list-card.vue
+++ b/src/ux-components/list-card/list-card.vue
@@ -86,6 +86,10 @@ export default {
selectedValues: [Array, String],
modelValue: Object,
hasError: Boolean,
+ clearOnUnmount: {
+ type: Boolean,
+ default: true
+ }
},
data() {
return {
@@ -99,9 +103,11 @@ export default {
: this.selectedValues[0];
}
},
- unmounted() { // needed to clear this button's selectedValues if it is removed
- this.checkValue = false;
- this.handleCheckChange();
+ unmounted() { // needed to clear this button's selectedValues if it is removed to keep validation in sync
+ if (this.clearOnUnmount) {
+ this.checkValue = false;
+ this.handleCheckChange();
+ }
},
computed: {
getLabelClasses() {