This commit is contained in:
2020-03-31 21:58:18 +00:00
parent 1d6c6e2486
commit 3b5ce306b3
3 changed files with 20 additions and 2 deletions

View File

@@ -18,12 +18,14 @@
v-bind:rules="rules"
readonly
:error="!!error"
:data-cy="'dtfpick:' + testId"
></v-text-field>
</template>
<v-date-picker
v-model="dateOnly"
@input="dlgdate = false"
:locale="defaultLocale"
:data-cy="'dpick:' + testId"
>
<v-spacer></v-spacer>
<v-btn text color="primary" @click="dlgdate = false">{{
@@ -55,6 +57,7 @@
ampm-in-title
:format="hour12 ? 'ampm' : '24hr'"
v-model="timeOnly"
:data-cy="'tpick:' + testId"
>
<v-spacer></v-spacer>
<v-btn text color="primary" @click="dlgtime = false">{{
@@ -98,7 +101,8 @@ export default {
error: {
type: String,
required: false
}
},
testId: String
},
methods: {
t(tKey) {