0
0
Fork 0

feat: #7679 show tooltips

This commit is contained in:
Javier Segarra 2024-10-01 10:03:14 +02:00
parent 41acf0e1e2
commit e9364f69d4
3 changed files with 7 additions and 0 deletions

View File

@ -156,6 +156,7 @@ async function handleCountries(data) {
<VnSelectDialog
:label="t('City')"
@update:model-value="(value) => setTown(value, data)"
:tooltip="t('Create city')"
v-model="data.townFk"
:options="townsOptions"
option-label="name"
@ -216,6 +217,7 @@ async function handleCountries(data) {
<i18n>
es:
New postcode: Nuevo código postal
Create city: Crear población
Please, ensure you put the correct data!: ¡Por favor, asegúrese de poner los datos correctos!
City: Población
Province: Provincia

View File

@ -56,6 +56,7 @@ async function handleProvinces(data) {
<VnSelectDialog
:label="t('Province')"
:options="$props.provinces"
:tooltip="t('Create province')"
hide-selected
v-model="provinceFk"
:rules="validate && validate('postcode.provinceFk')"
@ -80,4 +81,5 @@ async function handleProvinces(data) {
<i18n>
es:
Province: Provincia
Create province: Crear provincia
</i18n>

View File

@ -70,6 +70,7 @@ const handleModelValue = (data) => {
v-bind="$attrs"
clearable
:emit-value="false"
:tooltip="t('Create new location')"
>
<template #form>
<CreateNewPostcode
@ -102,7 +103,9 @@ const handleModelValue = (data) => {
<i18n>
en:
search_by_postalcode: Search by postalcode, town, province or country
Create new location: Create new location
es:
Location: Ubicación
Create new location: Crear nueva ubicación
search_by_postalcode: Buscar por código postal, ciudad o país
</i18n>