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
@clear="
() => {
model = '';
}
"
>
<template v-if="$slots.prepend" v-slot:prepend>
<slot name="prepend"></slot>

View file

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