This commit is contained in:
@@ -548,6 +548,7 @@ export default {
|
||||
// hide: "false"
|
||||
// required: true
|
||||
// type: "text"
|
||||
// debugger;
|
||||
|
||||
if (vm.formState.loading) {
|
||||
return true;
|
||||
@@ -876,7 +877,7 @@ export default {
|
||||
|
||||
//# CLEAR OUT STALE VALIDATION ERRORS FOR CONTROL
|
||||
//Clear out old validation display in form by forcing the control's data to change
|
||||
//I tried calling form validate and reset and all that bullshit but it did nothing
|
||||
//I tried calling form validate and reset but it did nothing
|
||||
//probably because it has safeguards to prevent excess validation, this works though so far
|
||||
//I added the triggering change guard but it actually doesn't seem to be required here, more investigation is required
|
||||
|
||||
|
||||
@@ -354,7 +354,7 @@ export default {
|
||||
vm.editName = null;
|
||||
vm.editNotes = null;
|
||||
vm.editId = null;
|
||||
//due to fucking reactivity issues which never seem to resolve no matter what I'm returning a fresh list on update
|
||||
//due to reactivity issues
|
||||
vm.updateDisplayList(res.data);
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
@@ -362,8 +362,8 @@ export default {
|
||||
//item.type only exists for custom fields so they are the ones to return
|
||||
//In addition if there is a keyStartWith then there are multiple custom field controls on same form so that's a different route to take
|
||||
let template = this.$store.state.formCustomTemplate[this.formKey];
|
||||
// debugger;
|
||||
//console.log("Template is: ", template);
|
||||
// // debugger;
|
||||
// console.log("Template is: ", template);
|
||||
|
||||
if (template != undefined) {
|
||||
if (this.keyStartWith != "") {
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
$ay.t("Delete")
|
||||
}}</v-btn>
|
||||
<v-spacer></v-spacer>
|
||||
what the fuck
|
||||
|
||||
<v-btn text color="primary" @click="setToday()">{{
|
||||
$ay.t("DateRangeToday")
|
||||
}}</v-btn>
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
//example serialized json TimeSpans
|
||||
//seems to be DD.HH:MM:SS.ms at it's most characters
|
||||
//two colons always with an optional period at each end to separate days and ms
|
||||
//we don't give a shit about MS and can safely ignore them
|
||||
//we don't support or need MS and can safely ignore them
|
||||
//so just look for a period at the top and the rest is split by colons
|
||||
//maybe split by colon first then subsplit first and last elements into days and MS
|
||||
//{"data":{"testTSDaysWMS":"22.10:15:22.0330000","testTSHMS":"05:16:33","testTS_DHMS":"5.10:15:33","testTS_MS":"00:15:33","testTS_S":"00:00:33","testTS_D":"22.00:00:00"}}
|
||||
|
||||
@@ -7,7 +7,7 @@ const MaxLogLength = 100;
|
||||
|
||||
Vue.use(Vuex);
|
||||
|
||||
//reset all local settings via url in case of fucked up situation
|
||||
//reset all local settings via url
|
||||
//localhost:8080/login?reset
|
||||
if (window.location.search) {
|
||||
var searchParams = new URLSearchParams(window.location.search);
|
||||
|
||||
@@ -166,7 +166,7 @@ export default {
|
||||
|
||||
let temp = res.data;
|
||||
|
||||
//Nice touch to show super faded just before deletion but don't have time for this fuckery at the moment
|
||||
//Nice touch to show super faded just before deletion but don't have time for this at the moment
|
||||
// let dtNow = window.$gz.DateTime.local();
|
||||
// let dtToday = window.$gz.DateTime.local(
|
||||
// dtNow.year,
|
||||
|
||||
@@ -229,7 +229,6 @@ export default {
|
||||
window.$gz.form.setErrorBoxErrors(vm);
|
||||
} else {
|
||||
//success, no need to be here anymore this is not an update form so navigate backwards since we don't know which list we came from
|
||||
//and it's not worth spending time coding that shit in
|
||||
window.$gz.form.setFormState({
|
||||
vm: vm,
|
||||
loading: false,
|
||||
|
||||
Reference in New Issue
Block a user