This commit is contained in:
2020-03-05 00:43:48 +00:00
parent 340d4cd516
commit 23c3db31e7
2 changed files with 8 additions and 2 deletions

View File

@@ -57,6 +57,7 @@ todo: Make functional user settings form with all overrides so can test shit out
public string CurrencyName { get; set; }
public bool Hour12 { get; set; }
todo: modify locale object to use overrides for language, timezone
todo: SEARCH UI

View File

@@ -47,6 +47,7 @@
<v-col cols="12" sm="6" lg="4" xl="3">
<v-text-field
v-model="obj.currencyName"
hint="e.g. USD, EUR, GBP, AUD, CAD etc"
:readonly="formState.readOnly"
clearable
@click:clear="onChange('currencyName')"
@@ -61,6 +62,7 @@
<v-col cols="12" sm="6" lg="4" xl="3">
<v-text-field
v-model="obj.timeZoneOverride"
:placeholder="locale().getTimeZoneName()"
:readonly="formState.readOnly"
clearable
@click:clear="onChange('timeZoneOverride')"
@@ -73,14 +75,17 @@
<v-col cols="12" sm="6" lg="4" xl="3">
<!-- https://vuetifyjs.com/en/components/color-pickers -->
<span class="v-label v-label--active theme--light">
{{ lt("UserColor") }}
</span>
<v-color-picker
v-model="obj.uiColor"
:readonly="formState.readOnly"
hide-mode-switch
mode="hexa"
:label="lt('UserColor')"
:error-messages="form().serverErrors(this, 'uiColor')"
ref="uiColor"
@change="onChange('uiColor')"
@input="onChange('uiColor')"
></v-color-picker>
</v-col>