This commit is contained in:
2021-03-19 23:17:31 +00:00
parent f320bb6c7a
commit 2175e57c53
7 changed files with 35 additions and 33 deletions

View File

@@ -301,6 +301,8 @@
ref="mapUrlTemplate"
@input="fieldValueChanged('mapUrlTemplate')"
data-cy="mapUrlTemplate"
:hint="obj.mapUrlTemplate == null ? 'Google maps' : ''"
persistent-hint
></v-text-field>
<v-select
:items="selectLists.mapUrls"
@@ -324,11 +326,15 @@
<v-col cols="12" sm="6" lg="4" xl="3">
<v-text-field
v-model="optionsObj.currencyName"
hint="e.g. USD, EUR, GBP, AUD, CAD etc"
:hint="
optionsObj.currencyName == null ||
optionsObj.currencyName == ''
? locale().getCurrencyName()
: ''
"
persistent-hint
:readonly="formState.readOnly"
:label="$ay.t('CurrencyCode')"
:rules="[form().required(this, 'currencyName')]"
:error-messages="form().serverErrors(this, 'currencyName')"
ref="currencyName"
@input="fieldValueChanged('currencyName')"

View File

@@ -291,6 +291,8 @@
ref="mapUrlTemplate"
@input="fieldValueChanged('mapUrlTemplate')"
data-cy="mapUrlTemplate"
:hint="obj.mapUrlTemplate == null ? 'Google maps' : ''"
persistent-hint
></v-text-field>
<v-select
:items="selectLists.mapUrls"
@@ -314,11 +316,15 @@
<v-col cols="12" sm="6" lg="4" xl="3">
<v-text-field
v-model="optionsObj.currencyName"
hint="e.g. USD, EUR, GBP, AUD, CAD etc"
:hint="
optionsObj.currencyName == null ||
optionsObj.currencyName == ''
? locale().getCurrencyName()
: ''
"
persistent-hint
:readonly="formState.readOnly"
:label="$ay.t('CurrencyCode')"
:rules="[form().required(this, 'currencyName')]"
:error-messages="form().serverErrors(this, 'currencyName')"
ref="currencyName"
@input="fieldValueChanged('currencyName')"

View File

@@ -92,6 +92,8 @@
ref="mapUrlTemplate"
@input="fieldValueChanged('mapUrlTemplate')"
data-cy="mapUrlTemplate"
:hint="obj.mapUrlTemplate == null ? 'Google maps' : ''"
persistent-hint
></v-text-field>
<v-select
:items="selectLists.mapUrls"
@@ -114,11 +116,14 @@
<v-col cols="12" sm="6" lg="4" xl="3">
<v-text-field
v-model="obj.currencyName"
hint="e.g. USD, EUR, GBP, AUD, CAD etc"
:hint="
obj.currencyName == null || obj.currencyName == ''
? locale().getCurrencyName()
: ''
"
persistent-hint
:readonly="formState.readOnly"
:label="$ay.t('CurrencyCode')"
:rules="[form().required(this, 'currencyName')]"
:error-messages="form().serverErrors(this, 'currencyName')"
ref="currencyName"
@input="fieldValueChanged('currencyName')"