feat: vue datepicker dark mode

This commit is contained in:
puriphatt 2024-07-01 04:03:39 +00:00
parent 571942d48f
commit 8cb6a87be1
9 changed files with 29 additions and 12 deletions

View file

@ -240,8 +240,9 @@ onMounted(async () => {
<VueDatePicker
utc
autoApply
:teleport="true"
v-model="checkup.coverageStartDate"
:teleport="true"
:dark="$q.dark.isActive"
:locale="$i18n.locale === 'th-th' ? 'th' : 'en'"
:enableTimePicker="false"
:disabled="readonly"
@ -289,8 +290,9 @@ onMounted(async () => {
<VueDatePicker
utc
autoApply
:teleport="true"
v-model="checkup.coverageExpireDate"
:teleport="true"
:dark="$q.dark.isActive"
:locale="$i18n.locale === 'th-th' ? 'th' : 'en'"
:enableTimePicker="false"
:disabled="readonly"