From 2e813f6e88b7c5886fad63c957d34682bcb2503d Mon Sep 17 00:00:00 2001 From: puriphatt Date: Thu, 10 Apr 2025 18:03:53 +0700 Subject: [PATCH] refactor: add clear functionality to SelectInput and update Thai translation for agency status --- src/components/shared/SelectInput.vue | 5 +++++ src/i18n/tha.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/shared/SelectInput.vue b/src/components/shared/SelectInput.vue index 06cd175e..d3317e79 100644 --- a/src/components/shared/SelectInput.vue +++ b/src/components/shared/SelectInput.vue @@ -103,6 +103,11 @@ watch( } " :rules + @clear=" + () => { + model = ''; + } + " >