refinement to readonly mode: banner now gray and removed disabled for controls as they were too faded to read properly and some controls with action buttons didn't work (email, phone etc)
This commit is contained in:
@@ -46,7 +46,6 @@
|
||||
<v-checkbox
|
||||
v-model="obj.smtpDeliveryActive"
|
||||
:readonly="formState.readOnly"
|
||||
:disabled="formState.readOnly"
|
||||
:label="$ay.t('SmtpDeliveryActive')"
|
||||
:persistent-hint="true"
|
||||
ref="smtpDeliveryActive"
|
||||
@@ -61,7 +60,6 @@
|
||||
<v-text-field
|
||||
v-model="obj.smtpServerAddress"
|
||||
:readonly="formState.readOnly"
|
||||
:disabled="formState.readOnly"
|
||||
:label="$ay.t('SmtpServerAddress')"
|
||||
:rules="[form().required(this, 'smtpServerAddress')]"
|
||||
:error-messages="form().serverErrors(this, 'smtpServerAddress')"
|
||||
@@ -74,7 +72,6 @@
|
||||
<v-text-field
|
||||
v-model="obj.smtpAccount"
|
||||
:readonly="formState.readOnly"
|
||||
:disabled="formState.readOnly"
|
||||
:label="$ay.t('SmtpAccount')"
|
||||
:rules="[form().required(this, 'smtpAccount')]"
|
||||
:error-messages="form().serverErrors(this, 'smtpAccount')"
|
||||
@@ -88,7 +85,6 @@
|
||||
<v-text-field
|
||||
v-model="obj.smtpPassword"
|
||||
:readonly="formState.readOnly"
|
||||
:disabled="formState.readOnly"
|
||||
:label="$ay.t('SmtpPassword')"
|
||||
:rules="[form().required(this, 'smtpPassword')]"
|
||||
:error-messages="form().serverErrors(this, 'smtpPassword')"
|
||||
@@ -104,7 +100,6 @@
|
||||
item-text="name"
|
||||
item-value="id"
|
||||
:readonly="formState.readOnly"
|
||||
:disabled="formState.readOnly"
|
||||
:label="$ay.t('ConnectionSecurity')"
|
||||
ref="connectionSecurity"
|
||||
data-cy="connectionSecurity"
|
||||
@@ -122,7 +117,6 @@
|
||||
<v-text-field
|
||||
v-model="obj.smtpServerPort"
|
||||
:readonly="formState.readOnly"
|
||||
:disabled="formState.readOnly"
|
||||
:label="$ay.t('SmtpServerPort')"
|
||||
:rules="[
|
||||
form().integerValid(this, 'smtpServerPort'),
|
||||
@@ -140,7 +134,6 @@
|
||||
<v-text-field
|
||||
v-model="obj.notifyFromAddress"
|
||||
:readonly="formState.readOnly"
|
||||
:disabled="formState.readOnly"
|
||||
:label="$ay.t('NotifyFromAddress')"
|
||||
:rules="[form().required(this, 'notifyFromAddress')]"
|
||||
:error-messages="form().serverErrors(this, 'notifyFromAddress')"
|
||||
@@ -154,7 +147,6 @@
|
||||
<v-text-field
|
||||
v-model="obj.ayaNovaServerURL"
|
||||
:readonly="formState.readOnly"
|
||||
:disabled="formState.readOnly"
|
||||
:label="$ay.t('AyaNovaServerURL')"
|
||||
:rules="[form().required(this, 'ayaNovaServerURL')]"
|
||||
:error-messages="form().serverErrors(this, 'ayaNovaServerURL')"
|
||||
|
||||
Reference in New Issue
Block a user