add: translation in complete register
This commit is contained in:
@@ -2,9 +2,11 @@
|
||||
import { ref } from 'vue';
|
||||
import VueMultiselect from 'vue-multiselect'
|
||||
import { searchcities } from '../../services/public';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
const options = ref([]);
|
||||
const isLoading = ref(false);
|
||||
const { t } = useI18n();
|
||||
|
||||
// defineProps(['selectedCities', 'multiple']);
|
||||
defineProps({
|
||||
@@ -42,18 +44,18 @@
|
||||
:disabled="disabled"
|
||||
@search-change="searchState"
|
||||
@remove="$emit('clear-option')"
|
||||
placeholder="Busca por ciudad"
|
||||
label="city_name"
|
||||
track-by="city_name"
|
||||
selectLabel="Presione para seleccionar"
|
||||
selectedLabel="Selecionado"
|
||||
deselectLabel="Presione para remover selecion"
|
||||
:placeholder="t('labels.selectCity')"
|
||||
:selectLabel="t('global.helpSelected')"
|
||||
:selectedLabel="t('global.selected')"
|
||||
:deselectLabel="t('global.removeSelected')"
|
||||
>
|
||||
<template #noResult>
|
||||
Oops! No se encontro coincidencias.
|
||||
{{ t('global.notFound') }}
|
||||
</template>
|
||||
<template #noOptions>
|
||||
Escriba para obtener lista.
|
||||
{{ t('global.emptyList') }}
|
||||
</template>
|
||||
</VueMultiselect>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user