CSR-1573
backout previous change and use vee validate to accomodate the defect
This commit is contained in:
parent
2e8be9171c
commit
36ceebb725
2 changed files with 2 additions and 2 deletions
|
|
@ -360,7 +360,7 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// If vin already exists, navigate directly to vin-lookup
|
// If vin already exists, navigate directly to vin-lookup
|
||||||
else if (store.getters.vehicle.vin && store.getters.vehicle.vin.length === 17) {
|
else if (store.getters.vehicle.vin) {
|
||||||
this.$router.navigateWithSaving(
|
this.$router.navigateWithSaving(
|
||||||
this.navigationScenarios.CLICKED_FORWARD_WITH_VIN,
|
this.navigationScenarios.CLICKED_FORWARD_WITH_VIN,
|
||||||
this.$route
|
this.$route
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
v-model="vin"
|
v-model="vin"
|
||||||
customInputId="vin"
|
customInputId="vin"
|
||||||
isRequired
|
isRequired
|
||||||
validationRules="vin-required|vin-format"
|
:validationRules="!vinPopulatedOnPageLoad ? 'vin-required|vin-format' : ''"
|
||||||
:isDisabled="vinPopulatedOnPageLoad"
|
:isDisabled="vinPopulatedOnPageLoad"
|
||||||
maxLength="17"
|
maxLength="17"
|
||||||
:mask="vinMask"
|
:mask="vinMask"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue