diff --git a/src/components/CreateBankEntityForm.vue b/src/components/CreateBankEntityForm.vue index fb50865a1..b2c5226e6 100644 --- a/src/components/CreateBankEntityForm.vue +++ b/src/components/CreateBankEntityForm.vue @@ -21,7 +21,7 @@ const bankEntityFormData = reactive({ }); const countriesFilter = { - fields: ['id', 'country', 'code'], + fields: ['id', 'name', 'code'], }; const countriesOptions = ref([]); @@ -74,7 +74,7 @@ onMounted(async () => { v-model="data.countryFk" :options="countriesOptions" option-value="id" - option-label="country" + option-label="name" hide-selected :required="true" :rules="validate('bankEntity.countryFk')" diff --git a/src/components/CreateNewPostcodeForm.vue b/src/components/CreateNewPostcodeForm.vue index 064ad1631..25a61a0ca 100644 --- a/src/components/CreateNewPostcodeForm.vue +++ b/src/components/CreateNewPostcodeForm.vue @@ -134,7 +134,7 @@ const onProvinceCreated = async ({ name }, formData) => { :label="t('Country')" :options="countriesOptions" hide-selected - option-label="country" + option-label="name" option-value="id" v-model="data.countryFk" :rules="validate('postcode.countryFk')" diff --git a/src/components/UserPanel.vue b/src/components/UserPanel.vue index c2011639f..3ae05a268 100644 --- a/src/components/UserPanel.vue +++ b/src/components/UserPanel.vue @@ -178,6 +178,8 @@ function copyUserToken() { :options="warehousesData" option-label="name" option-value="id" + input-debounce="0" + hide-selected />