Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 3m0s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 3m0s
This commit is contained in:
commit
faec83aacc
1 changed files with 5 additions and 3 deletions
|
|
@ -920,9 +920,11 @@ onMounted(async () => {
|
|||
:locale="'th'"
|
||||
:enableTimePicker="false"
|
||||
>
|
||||
<template #year="{ year }">{{ year + 543 }}</template>
|
||||
<template #year="{ year }">{{
|
||||
year ? year + 543 : "-"
|
||||
}}</template>
|
||||
<template #year-overlay-value="{ value }">{{
|
||||
parseInt(value + 543)
|
||||
value ? parseInt(value + 543) : "-"
|
||||
}}</template>
|
||||
<template #trigger>
|
||||
<q-input
|
||||
|
|
@ -930,7 +932,7 @@ onMounted(async () => {
|
|||
outlined
|
||||
hide-bottom-space
|
||||
class="inputgreen"
|
||||
:model-value="insigniaForm.year !== 0 ? (insigniaForm.year as number) + 543 : null"
|
||||
:model-value="insigniaForm.year != null && insigniaForm.year !== 0 ? (insigniaForm.year as number) + 543 : null"
|
||||
:rules="[
|
||||
(val:string) =>
|
||||
!!val ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue