diff --git a/src/components/Questions/QuestionDate.vue b/src/components/Questions/QuestionDate.vue index 51be528..009aebf 100644 --- a/src/components/Questions/QuestionDate.vue +++ b/src/components/Questions/QuestionDate.vue @@ -1,7 +1,7 @@ - - - - diff --git a/src/components/Questions/QuestionDatetime.vue b/src/components/Questions/QuestionDatetime.vue index 04ed091..c0f5a2e 100644 --- a/src/components/Questions/QuestionDatetime.vue +++ b/src/components/Questions/QuestionDatetime.vue @@ -1,7 +1,7 @@ - - - - diff --git a/src/components/Questions/QuestionEmail.vue b/src/components/Questions/QuestionEmail.vue index 2ac0300..b6658e4 100644 --- a/src/components/Questions/QuestionEmail.vue +++ b/src/components/Questions/QuestionEmail.vue @@ -1,7 +1,7 @@ - - - - diff --git a/src/components/Questions/QuestionShort.vue b/src/components/Questions/QuestionShort.vue index 42c2288..468e7ea 100644 --- a/src/components/Questions/QuestionShort.vue +++ b/src/components/Questions/QuestionShort.vue @@ -43,7 +43,7 @@ class="question__input" :maxlength="maxStringLengths.answerText" minlength="1" - type="text" + v-bind:type="type" @input="onInput" @keydown.enter.exact.prevent="onKeydownEnter"> @@ -58,6 +58,12 @@ export default { mixins: [QuestionMixin], + data() { + return { + type: 'text', + } + }, + computed: { submissionInputPlaceholder() { if (this.readOnly) { @@ -72,13 +78,17 @@ export default { const input = this.$refs.input this.$emit('update:values', [input.value]) }, + + getType() { + return 'text' + } }, }