refactor: add clear functionality to SelectInput and update Thai translation for agency status

This commit is contained in:
puriphatt 2025-04-10 18:03:53 +07:00
parent ed5a05709a
commit 2e813f6e88
2 changed files with 6 additions and 1 deletions

View file

@ -103,6 +103,11 @@ watch(
} }
" "
:rules :rules
@clear="
() => {
model = '';
}
"
> >
<template v-if="$slots.prepend" v-slot:prepend> <template v-if="$slots.prepend" v-slot:prepend>
<slot name="prepend"></slot> <slot name="prepend"></slot>

View file

@ -456,7 +456,7 @@ export default {
citizenId: 'เลขที่บัตรประชาชน', citizenId: 'เลขที่บัตรประชาชน',
citizenIssue: 'วันที่ออกบัตร', citizenIssue: 'วันที่ออกบัตร',
citizenExpire: 'วันที่หมดอายุ', citizenExpire: 'วันที่หมดอายุ',
agencyStatus: 'สถานะการเป็นเอเจนซี่', agencyStatus: 'สถานะเอเจนซี่',
normal: 'ปกติ', normal: 'ปกติ',
canceled: 'ยกเลิก', canceled: 'ยกเลิก',
blacklist: 'แบล็คลิสต์', blacklist: 'แบล็คลิสต์',