update to zip-format validation
This commit is contained in:
parent
b55405f3fb
commit
e9b77fd352
1 changed files with 5 additions and 14 deletions
|
|
@ -13,7 +13,8 @@
|
||||||
<license-plate-question/>
|
<license-plate-question/>
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-4">
|
<div class="mt-4">
|
||||||
<zip-question/>
|
<zip-question
|
||||||
|
v-model="registrationZipCode"/>
|
||||||
</div>
|
</div>
|
||||||
<!-- <alert
|
<!-- <alert
|
||||||
cmsWidgetName="AlertVinNotFoundWidget"
|
cmsWidgetName="AlertVinNotFoundWidget"
|
||||||
|
|
@ -41,9 +42,6 @@ import siteHeader from '@/common-components/site-header/site-header.vue';
|
||||||
import siteSubHeader from '@/common-components/site-sub-header/site-sub-header.vue';
|
import siteSubHeader from '@/common-components/site-sub-header/site-sub-header.vue';
|
||||||
import vehicleBanner from '@/common-components/vehicle-banner/vehicle-banner.vue';
|
import vehicleBanner from '@/common-components/vehicle-banner/vehicle-banner.vue';
|
||||||
import textboxQuestion from '../../common-components/textbox-question/textbox-question.vue';
|
import textboxQuestion from '../../common-components/textbox-question/textbox-question.vue';
|
||||||
import { required, regex } from '@/helpers/validation-rules';
|
|
||||||
import { defineRule } from 'vee-validate';
|
|
||||||
import { errorMessages } from '@/constants/error-messages';
|
|
||||||
import LicensePlateQuestion from './license-plate-question/license-plate-question.vue';
|
import LicensePlateQuestion from './license-plate-question/license-plate-question.vue';
|
||||||
import ZipQuestion from './zip-question/zip-question.vue';
|
import ZipQuestion from './zip-question/zip-question.vue';
|
||||||
|
|
||||||
|
|
@ -62,10 +60,9 @@ export default {
|
||||||
ZipQuestion,
|
ZipQuestion,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
// return {
|
return {
|
||||||
// licensePlate: this.getLicensePlateFromStore(),
|
registrationZipCode: null,
|
||||||
// registrationZipCode: this.getRegistrationZipFromStore(),
|
};
|
||||||
// };
|
|
||||||
},
|
},
|
||||||
async beforeRouteEnter(to, from, next) {
|
async beforeRouteEnter(to, from, next) {
|
||||||
const cmsContentPromise = fetchCmsContentForPage(to.query.issPage);
|
const cmsContentPromise = fetchCmsContentForPage(to.query.issPage);
|
||||||
|
|
@ -111,12 +108,6 @@ export default {
|
||||||
resetDependentState() {
|
resetDependentState() {
|
||||||
|
|
||||||
},
|
},
|
||||||
// getLicensePlateFromStore() {
|
|
||||||
// return this.mainStore.order.vehicle.registration.licensePlate;
|
|
||||||
// },
|
|
||||||
// getRegistrationZipFromStore() {
|
|
||||||
// return this.mainStore.order.vehicle.registration.zipCode;
|
|
||||||
// }
|
|
||||||
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue