This commit is contained in:
2020-02-05 23:51:15 +00:00
parent fa56b99f6f
commit ce13b1230b
5 changed files with 43 additions and 21 deletions

View File

@@ -14,7 +14,12 @@
:error="!!error"
></v-text-field>
</template>
<v-time-picker scrollable ampm-in-title v-model="timeOnly">
<v-time-picker
scrollable
ampm-in-title
:format="24hr"
v-model="timeOnly"
>
<v-spacer></v-spacer>
<v-btn text color="primary" @click="dlgtime = false">{{
lt("OK")
@@ -52,7 +57,12 @@ export default {
}
}
},
data: () => ({ date: null, oldDate: null, dlgtime: false }),
data: () => ({
date: null,
oldDate: null,
dlgtime: false,
ampmFormat: "ampm" //or "24hr"
}),
props: {
label: String,
rules: Array,