feat: add tooltip to date range selector in MainPage
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s

This commit is contained in:
puriphatt 2025-03-10 14:53:59 +07:00
parent 3d3ba53a53
commit 22f9b43c38

View file

@ -97,7 +97,7 @@ watch(
teleport
auto-apply
for="select-date-range"
class="col-md-4 col"
class="col-md-3 col"
v-model="state.date"
:dark="$q.dark.isActive"
:locale="$i18n.locale === 'tha' ? 'th' : 'en'"
@ -118,6 +118,13 @@ watch(
<template #prepend>
<q-icon name="mdi-calendar-outline" class="app-text-muted" />
</template>
<q-tooltip>
{{
dateFormatJS({ date: state.date[0] }) +
' - ' +
dateFormatJS({ date: state.date[1] })
}}
</q-tooltip>
</q-input>
</template>
</VueDatePicker>