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/>
|
||||
</div>
|
||||
<div class="mt-4">
|
||||
<zip-question/>
|
||||
<zip-question
|
||||
v-model="registrationZipCode"/>
|
||||
</div>
|
||||
<!-- <alert
|
||||
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 vehicleBanner from '@/common-components/vehicle-banner/vehicle-banner.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 ZipQuestion from './zip-question/zip-question.vue';
|
||||
|
||||
|
|
@ -62,10 +60,9 @@ export default {
|
|||
ZipQuestion,
|
||||
},
|
||||
data() {
|
||||
// return {
|
||||
// licensePlate: this.getLicensePlateFromStore(),
|
||||
// registrationZipCode: this.getRegistrationZipFromStore(),
|
||||
// };
|
||||
return {
|
||||
registrationZipCode: null,
|
||||
};
|
||||
},
|
||||
async beforeRouteEnter(to, from, next) {
|
||||
const cmsContentPromise = fetchCmsContentForPage(to.query.issPage);
|
||||
|
|
@ -111,12 +108,6 @@ export default {
|
|||
resetDependentState() {
|
||||
|
||||
},
|
||||
// getLicensePlateFromStore() {
|
||||
// return this.mainStore.order.vehicle.registration.licensePlate;
|
||||
// },
|
||||
// getRegistrationZipFromStore() {
|
||||
// return this.mainStore.order.vehicle.registration.zipCode;
|
||||
// }
|
||||
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue