@@ -437,7 +348,8 @@ watch(districtId, fetchSubDistrict);
:model-value="office"
:dense="dense"
:label="$t('customer.form.employmentOffice')"
- :readonly="readonly || sameWithEmployer"
+ readonly
+ :disable="!readonly && !sameWithEmployer"
:for="`${prefixId}-${indexId !== undefined ? `input-address-${indexId}` : 'input-address'}`"
@update:model-value="
(v) => (typeof v === 'string' ? (employmentOffice = v) : '')
@@ -450,7 +362,8 @@ watch(districtId, fetchSubDistrict);
:model-value="officeEn"
:dense="dense"
:label="`${$t('customer.form.employmentOffice')} (EN)`"
- :readonly="readonly || sameWithEmployer"
+ readonly
+ :disable="!readonly && !sameWithEmployer"
:for="`${prefixId}-${indexId !== undefined ? `input-address-${indexId}` : 'input-address'}`"
@update:model-value="
(v) => (typeof v === 'string' ? (employmentOfficeEN = v) : '')