-
Notifications
You must be signed in to change notification settings - Fork 0
/
InputDate.vue
36 lines (34 loc) · 1.15 KB
/
InputDate.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<template>
<input type="date"
@input="$emit('input', $event.target.value)"
:autocomplete="autocomplete"
:autofocus="autofocus"
:class="[
fieldSize ? 'form-control-' + fieldSize : '',
readonly && plaintext ? 'form-control-plaintext' : 'form-control'
]"
:disabled="disabled"
:form="form"
:id="id"
:inputmode="inputmode"
:list="list"
:max="max"
:min="min"
:name="id"
:readonly="readonly"
:required="required"
:spellcheck="spellcheck"
:step="step"
:tabindex="tabindex"
:value="value">
</template>
<script lang="ts">
import { Component, Mixins } from 'vue-property-decorator';
import ListMixin from '@/mixins/form/ListMixin';
import NumericMixin from '@/mixins/form/NumericMixin';
import ReadonlyMixin from '@/mixins/form/ReadonlyMixin';
import RequiredMixin from '@/mixins/form/RequiredMixin';
import SharedMixin from '@/mixins/form/SharedMixin';
@Component({})
export default class InputDate extends Mixins(ListMixin, NumericMixin, ReadonlyMixin, RequiredMixin, SharedMixin) {}
</script>