feat: add tooltip to date range selector in MainPage
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
This commit is contained in:
parent
3d3ba53a53
commit
22f9b43c38
1 changed files with 8 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue