Merge pull request #212 from Safelite/feature/Digital/SSR-319.1
SSR 319
This commit is contained in:
commit
a24441ede2
1 changed files with 10 additions and 2 deletions
|
|
@ -16,6 +16,7 @@
|
||||||
class="form-control"
|
class="form-control"
|
||||||
v-model.trim="value"
|
v-model.trim="value"
|
||||||
v-maska="mask"
|
v-maska="mask"
|
||||||
|
v-on:focus="blurInput"
|
||||||
:type="type"
|
:type="type"
|
||||||
:ref="inputId"
|
:ref="inputId"
|
||||||
:id="inputId"
|
:id="inputId"
|
||||||
|
|
@ -24,7 +25,7 @@
|
||||||
:aria-disabled="isDisabled"
|
:aria-disabled="isDisabled"
|
||||||
:disabled="isDisabled"
|
:disabled="isDisabled"
|
||||||
:aria-required="isRequired"
|
:aria-required="isRequired"
|
||||||
:aria-label="questionText"
|
:aria-label="questionText"
|
||||||
:min="min"
|
:min="min"
|
||||||
:max="max"
|
:max="max"
|
||||||
required
|
required
|
||||||
|
|
@ -136,7 +137,14 @@ export default {
|
||||||
|
|
||||||
this.$emit("update:modelValue", value);
|
this.$emit("update:modelValue", value);
|
||||||
|
|
||||||
}
|
},
|
||||||
|
|
||||||
|
blurInput() {
|
||||||
|
if (this.$refs.dateOfLossField) {
|
||||||
|
this.$refs.dateOfLossField.blur();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
questionText() {
|
questionText() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue