backout previous change and use vee validate to accomodate the defect
This commit is contained in:
CarlNation 2023-07-24 11:17:50 -04:00
parent 2e8be9171c
commit 36ceebb725
2 changed files with 2 additions and 2 deletions

View file

@ -360,7 +360,7 @@ export default {
}
}
// 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.navigationScenarios.CLICKED_FORWARD_WITH_VIN,
this.$route

View file

@ -15,7 +15,7 @@
v-model="vin"
customInputId="vin"
isRequired
validationRules="vin-required|vin-format"
:validationRules="!vinPopulatedOnPageLoad ? 'vin-required|vin-format' : ''"
:isDisabled="vinPopulatedOnPageLoad"
maxLength="17"
:mask="vinMask"