From 7d8cd9fa28c815014f826f3e48b14949e3606fcc Mon Sep 17 00:00:00 2001 From: Net Date: Fri, 20 Sep 2024 14:21:30 +0700 Subject: [PATCH] refactor: add hideInputEn and hideIcon --- src/components/form/AddressForm.vue | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/src/components/form/AddressForm.vue b/src/components/form/AddressForm.vue index b3a60e37..e209cc14 100644 --- a/src/components/form/AddressForm.vue +++ b/src/components/form/AddressForm.vue @@ -22,6 +22,8 @@ defineProps<{ indexId?: number; prefixId: string; hideTitle?: boolean; + hideInputEn?: boolean; + hideIcon?: boolean; useEmployment?: boolean; useWorkPlace?: boolean; @@ -323,10 +325,13 @@ watch(districtId, fetchSubDistrict); :for="`${prefixId}-${indexId !== undefined ? `input-address-${indexId}` : 'input-address'}`" /> -
- - {{ addressTitle || $t('form.address') }} -
+ +
- -
- - {{ addressTitleEN || $t('form.address', { suffix: '(EN)' }) }} -
-
+ +