This commit is contained in:
@@ -12,7 +12,10 @@ todo: Uifielddatatype Phone and TimeSpan support at client, translation keys etc
|
||||
todo: input type email url phone number etc supported on device to activate?
|
||||
if not, it must be supported somehow so figure it out
|
||||
|
||||
|
||||
todo: latitude longitude needs replacement decimal control or something else, can't use precision more than two decimal places
|
||||
NOTE: check docs, maybe it's a setting on the existing control?
|
||||
|
||||
|
||||
NEXT UP: Customer
|
||||
|
||||
|
||||
|
||||
@@ -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')"
|
||||
|
||||
Reference in New Issue
Block a user