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"
|
||||
v-model.trim="value"
|
||||
v-maska="mask"
|
||||
v-on:focus="blurInput"
|
||||
:type="type"
|
||||
:ref="inputId"
|
||||
:id="inputId"
|
||||
|
|
@ -24,7 +25,7 @@
|
|||
:aria-disabled="isDisabled"
|
||||
:disabled="isDisabled"
|
||||
:aria-required="isRequired"
|
||||
:aria-label="questionText"
|
||||
:aria-label="questionText"
|
||||
:min="min"
|
||||
:max="max"
|
||||
required
|
||||
|
|
@ -136,7 +137,14 @@ export default {
|
|||
|
||||
this.$emit("update:modelValue", value);
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
blurInput() {
|
||||
if (this.$refs.dateOfLossField) {
|
||||
this.$refs.dateOfLossField.blur();
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
computed: {
|
||||
questionText() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue