This commit is contained in:
2020-11-30 19:43:05 +00:00
parent ec3cf7589b
commit 5249133434
5 changed files with 7 additions and 11 deletions

View File

@@ -6,9 +6,7 @@
MISC ITEMS THAT CAME UP MISC ITEMS THAT CAME UP
todo: DATE / TIME / DATE_TIME controls switch back to vuetify ones todo: DATE / TIME / DATE_TIME controls switch back to vuetify ones
Xdatetime test all three read only mode
DateOnly
TimeOnly
Smoke test rewrite Smoke test rewrite
todo: datetime testing make sure locale, am/pm etc are all honoured todo: datetime testing make sure locale, am/pm etc are all honoured
@@ -16,7 +14,7 @@ todo: datetime testing make sure locale, am/pm etc are all honoured
todo: 24hr setting, where does it come from, is it detected? there is no forceful settingh for it anymore in user settings?! todo: 24hr setting, where does it come from, is it detected? there is no forceful settingh for it anymore in user settings?!
todo: v8migrate "Client" locale key stays "client" doesn't change to "Customer" is this supposed to happen?
todo: gz-data-table make sure unbounded notes column is bounded by some length restriction todo: gz-data-table make sure unbounded notes column is bounded by some length restriction
mobile format is ok, it cuts off at one line, but for desktop we should have a sane limit as right now it's completely unbounded mobile format is ok, it cuts off at one line, but for desktop we should have a sane limit as right now it's completely unbounded

View File

@@ -97,11 +97,10 @@ export default {
return ret; return ret;
}, },
readonlyFormat() { readonlyFormat() {
return window.$gz.locale.utcDateToShortDateAndTimeLocalized( return window.$gz.locale.utcDateToShortDateLocalized(
this.value, this.value,
this.timeZoneName, this.timeZoneName,
this.languageName, this.languageName
this.hour12
); );
}, },
updateDateValue(v) { updateDateValue(v) {

View File

@@ -286,7 +286,7 @@ export default {
//NOTE debounce with a watcher is a bit different, currently it has to be done exactly this way, nothing else will work properly //NOTE debounce with a watcher is a bit different, currently it has to be done exactly this way, nothing else will work properly
//https://vuejs.org/v2/guide/migration.html#debounce-Param-Attribute-for-v-model-removed //https://vuejs.org/v2/guide/migration.html#debounce-Param-Attribute-for-v-model-removed
//----------------- //-----------------
console.log("doSearch debounced",searchFor); //console.log("doSearch debounced",searchFor);
let vm = this; let vm = this;
let isATwoTermQuery = false; let isATwoTermQuery = false;
let queryTerms = []; let queryTerms = [];

View File

@@ -99,7 +99,7 @@ export default {
return ret; return ret;
}, },
readonlyFormat() { readonlyFormat() {
return window.$gz.locale.utcDateToShortDateAndTimeLocalized( return window.$gz.locale.utcDateToShortTimeLocalized(
this.value, this.value,
this.timeZoneName, this.timeZoneName,
this.languageName, this.languageName,

View File

@@ -606,7 +606,6 @@ export default {
!this.formState.loading && !this.formState.loading &&
!this.formState.readOnly !this.formState.readOnly
) { ) {
console.log("FieldValueChanged for ", ref);
window.$gz.form.fieldValueChanged(this, ref); window.$gz.form.fieldValueChanged(this, ref);
} }
}, },