This commit is contained in:
2023-11-19 21:47:13 +01:00
parent d70be43c5d
commit f688ee3c26

View File

@@ -46,9 +46,9 @@ const fetch = async () => {
const response = await axios.get(route('ccountry.active'))
ccountry.value = response.data
ccountry_filter.value = ccountry.value.map((country) => [ country.currency_code, country.country_name ]);
// ccountry_list.value = ccountry.value.map((country) => country.country_name );
ccountry_list.value = ccountry.value.map((country) => country.country_name );
// console.log("TEST=",ccountry_filter.value, ccountry_list.value);
console.log("TEST=",ccountry_filter.value, ccountry_list.value);
} catch (e) {
const response = await Swal.fire({
title: __('are you want to try again') + '?',
@@ -99,6 +99,7 @@ onMounted(fetch);
/>
<multiselect
:multiple="true"
v-model="selected"
:options="ccountry_list">
</multiselect>