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

@ -84,6 +84,7 @@ function deleteFile(name: string) {
<VueDatePicker
utc
autoApply
:dark="$q.dark.isActive"
v-model="startDate"
:teleport="true"
:locale="$i18n.locale === 'th-th' ? 'th' : 'en'"
@ -131,6 +132,7 @@ function deleteFile(name: string) {
utc
autoApply
v-model="retireDate"
:dark="$q.dark.isActive"
:teleport="true"
:locale="$i18n.locale === 'th-th' ? 'th' : 'en'"
:enableTimePicker="false"

View file

@ -122,8 +122,9 @@ defineProps<{
for="input-birth-date"
utc
autoApply
:teleport="true"
v-model="birthDate"
:teleport="true"
:dark="$q.dark.isActive"
:locale="$i18n.locale === 'th-th' ? 'th' : 'en'"
:enableTimePicker="false"
:disabled="readonly"