fix:datepicker rules

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-11-07 10:38:30 +07:00
parent 43cfbc9fa5
commit ca53971246

View file

@ -609,6 +609,7 @@ onMounted(async () => {
datePayment != null ? dateThaiRange(datePayment) : null datePayment != null ? dateThaiRange(datePayment) : null
" "
:label="`${'วันที่ชำระเงิน'}`" :label="`${'วันที่ชำระเงิน'}`"
:rules="[(val:string) => !!val || `${'กรุณาเลือกวันที่ชำระเงิน'}`]"
> >
<template v-slot:prepend> <template v-slot:prepend>
<q-icon <q-icon