This commit is contained in:
2020-11-11 21:41:14 +00:00
parent 26beccb45c
commit 5618d4381f
2 changed files with 43 additions and 2 deletions

View File

@@ -255,7 +255,45 @@
></v-text-field>
</v-col>
<!-- //-------------------- -->
<v-col
v-if="form().showMe(this, 'Latitude')"
cols="12"
sm="6"
lg="4"
xl="3"
>
<gz-decimal
v-model="obj.latitude"
:readonly="formState.readOnly"
:disabled="formState.readOnly"
:label="$ay.t('AddressLatitude')"
ref="latitude"
data-cy="latitude"
:rules="[form().decimalValid(this, 'latitude')]"
:error-messages="form().serverErrors(this, 'latitude')"
@input="fieldValueChanged('latitude')"
></gz-decimal>
</v-col>
<v-col
v-if="form().showMe(this, 'Longitude')"
cols="12"
sm="6"
lg="4"
xl="3"
>
<gz-decimal
v-model="obj.longitude"
:readonly="formState.readOnly"
:disabled="formState.readOnly"
:label="$ay.t('AddressLongitude')"
ref="longitude"
data-cy="longitude"
:rules="[form().decimalValid(this, 'longitude')]"
:error-messages="form().serverErrors(this, 'longitude')"
@input="fieldValueChanged('longitude')"
></gz-decimal>
</v-col>
<v-col
v-if="form().showMe(this, 'PostAddress')"