Merge pull request #482 from Safelite/bugfix/CSR-606

CSR-606: add maxlength to vin
This commit is contained in:
AdamCaouetteSafelite 2022-05-19 14:23:13 -04:00 committed by GitHub
commit 42263b42d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -19,6 +19,7 @@
:validationRules="validationRules"
@change="handleChange"
@blur="handleChange"
:maxlength="maxLength ? maxLength : '999'"
/>
<div v-show="errorMessage" class="row my-2 form-test-error">
<span class="d-inline-flex mt-0" role="alert">{{ errorMessage }}</span>
@ -55,6 +56,7 @@ export default {
validationRules: String,
semiAggressiveValidation: Boolean,
cmsWidgetName: String,
maxLength: String,
},
setup(props) {
const propsClone = Object.assign({}, props);

View file

@ -24,6 +24,7 @@
disableAutoFill
validationRules="vin-required|vin-format"
:isDisabled="isVinFieldReadOnly"
maxLength="17"
/>
</div>
</div>