This commit is contained in:
2020-12-02 00:48:58 +00:00
parent 3b8a809d5a
commit 86b354425b
6 changed files with 28 additions and 44 deletions

View File

@@ -232,7 +232,7 @@
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-text-field
<gz-email
v-model="optionsObj.emailAddress"
:readonly="formState.readOnly"
:label="$ay.t('UserEmailAddress')"
@@ -240,8 +240,7 @@
ref="emailAddress"
@input="fieldValueChanged('emailAddress')"
data-cy="emailAddress"
type="email"
></v-text-field>
></gz-email>
</v-col>
<v-col
v-if="form().showMe(this, 'Phone1')"
@@ -250,17 +249,16 @@
lg="4"
xl="3"
>
<v-text-field
<gz-phone
v-model="optionsObj.phone1"
:readonly="formState.readOnly"
:disabled="formState.readOnly"
:label="$ay.t('UserPhone1')"
ref="phone1"
data-cy="phone1"
type="tel"
:error-messages="form().serverErrors(this, 'phone1')"
@input="fieldValueChanged('phone1')"
></v-text-field>
></gz-phone>
</v-col>
<v-col
@@ -270,17 +268,16 @@
lg="4"
xl="3"
>
<v-text-field
<gz-phone
v-model="optionsObj.phone2"
:readonly="formState.readOnly"
:disabled="formState.readOnly"
:label="$ay.t('UserPhone2')"
ref="phone2"
data-cy="phone2"
type="tel"
:error-messages="form().serverErrors(this, 'phone2')"
@input="fieldValueChanged('phone2')"
></v-text-field>
></gz-phone>
</v-col>
<v-col
@@ -290,17 +287,16 @@
lg="4"
xl="3"
>
<v-text-field
<gz-phone
v-model="optionsObj.phone3"
:readonly="formState.readOnly"
:disabled="formState.readOnly"
:label="$ay.t('UserPageAddress')"
ref="phone3"
data-cy="phone3"
type="tel"
:error-messages="form().serverErrors(this, 'phone3')"
@input="fieldValueChanged('phone3')"
></v-text-field>
></gz-phone>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">