SSR 319
Prevent data entry in date field
This commit is contained in:
parent
fd279f6a52
commit
30ec63f173
1 changed files with 8 additions and 1 deletions
|
|
@ -25,6 +25,8 @@
|
|||
:disabled="isDisabled"
|
||||
:aria-required="isRequired"
|
||||
:aria-label="questionText"
|
||||
v-on:keydown.prevent
|
||||
v-on:focus="blurInput"
|
||||
:min="min"
|
||||
:max="max"
|
||||
required
|
||||
|
|
@ -136,7 +138,12 @@ export default {
|
|||
|
||||
this.$emit("update:modelValue", value);
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
blurInput() {
|
||||
this.$refs.dateOfLossField.blur();
|
||||
}
|
||||
|
||||
},
|
||||
computed: {
|
||||
questionText() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue