This commit is contained in:
2020-03-06 16:33:48 +00:00
parent 5e481553f1
commit 9afff23e7b

View File

@@ -30,20 +30,6 @@
></v-text-field> ></v-text-field>
</v-col> </v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-text-field
v-model="obj.languageOverride"
:placeholder="locale().getBrowserFirstLanguage()"
:readonly="formState.readOnly"
clearable
@click:clear="onChange('languageOverride')"
:label="lt('LanguageCode')"
:error-messages="form().serverErrors(this, 'languageOverride')"
ref="languageOverride"
@change="onChange('languageOverride')"
></v-text-field>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3"> <v-col cols="12" sm="6" lg="4" xl="3">
<v-text-field <v-text-field
v-model="obj.currencyName" v-model="obj.currencyName"
@@ -58,21 +44,16 @@
@change="onChange('currencyName')" @change="onChange('currencyName')"
></v-text-field> ></v-text-field>
</v-col> </v-col>
<v-col cols="12" sm="6" lg="4" xl="3"> <v-col cols="12" sm="6" lg="4" xl="3">
<v-text-field <v-checkbox
v-model="obj.timeZoneOverride" v-model="obj.hour12"
:placeholder="locale().getBrowserTimeZoneName()"
:readonly="formState.readOnly" :readonly="formState.readOnly"
clearable :label="lt('Hour12')"
@click:clear="onChange('timeZoneOverride')" ref="hour12"
:label="lt('TimeZone')" :error-messages="form().serverErrors(this, 'hour12')"
:error-messages="form().serverErrors(this, 'timeZoneOverride')" @change="onChange('hour12')"
ref="timeZoneOverride" ></v-checkbox>
@change="onChange('timeZoneOverride')"
></v-text-field>
</v-col> </v-col>
<v-col cols="12" sm="6" lg="4" xl="3"> <v-col cols="12" sm="6" lg="4" xl="3">
<!-- https://vuetifyjs.com/en/components/color-pickers --> <!-- https://vuetifyjs.com/en/components/color-pickers -->
<span class="v-label v-label--active theme--light"> <span class="v-label v-label--active theme--light">
@@ -90,14 +71,31 @@
</v-col> </v-col>
<v-col cols="12" sm="6" lg="4" xl="3"> <v-col cols="12" sm="6" lg="4" xl="3">
<v-checkbox <v-text-field
v-model="obj.hour12" v-model="obj.languageOverride"
:placeholder="locale().getBrowserFirstLanguage()"
:readonly="formState.readOnly" :readonly="formState.readOnly"
:label="lt('Hour12')" clearable
ref="hour12" @click:clear="onChange('languageOverride')"
:error-messages="form().serverErrors(this, 'hour12')" :label="lt('LanguageCode')"
@change="onChange('hour12')" :error-messages="form().serverErrors(this, 'languageOverride')"
></v-checkbox> ref="languageOverride"
@change="onChange('languageOverride')"
></v-text-field>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-text-field
v-model="obj.timeZoneOverride"
:placeholder="locale().getBrowserTimeZoneName()"
:readonly="formState.readOnly"
clearable
@click:clear="onChange('timeZoneOverride')"
:label="lt('TimeZone')"
:error-messages="form().serverErrors(this, 'timeZoneOverride')"
ref="timeZoneOverride"
@change="onChange('timeZoneOverride')"
></v-text-field>
</v-col> </v-col>
</v-row> </v-row>
</v-form> </v-form>