From 3400b9de3f6eaf32d50315abf26bbd42c938d3d9 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 5 Apr 2019 21:18:58 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 6 ++---- ayanova/src/api/gzvalidate.js | 2 ++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 6fdb04e3..09a4baf0 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -15,12 +15,10 @@ TODO CLIENT STUFF TODO NEXT IMMEDIATE ISSUES: - Not clearing server errorbox on submit. - I'm thinking I need to rethink how it works perhaps and bind it to a watched function or some shit, right now it's part of the validation system but it should be decoupled from that in reality - Vue really expects fields to update based on watched or local properties in data so it should both get it's value for if should show and for what to show from a local property that is set maybe by the gzvalidate +Now clearing server error box thanks to some last minute changes, but those chagnes need to be looked at and start with **THIS** in gzvalidate and move on See server project widget validation code which will now give server errors on certain values so can proceed with work. -Current issue is where to put notifications, code is to help test, also not clearing server errorbox on submit +Current issue is where to put notifications, code is to help test, Issues: diff --git a/ayanova/src/api/gzvalidate.js b/ayanova/src/api/gzvalidate.js index 8d93cc90..788c718c 100644 --- a/ayanova/src/api/gzvalidate.js +++ b/ayanova/src/api/gzvalidate.js @@ -335,6 +335,8 @@ export default { // SetErrorBoxErrors // Gather server errors and set the appropriate keys SetErrorBoxErrors(v) { + **THIS** + //maybe just put all the code in here and don't call geterrorboxerrors at all as no one else will need to call it anyway var errs = this.ServerErrors(v, "errorbox"); var ret = GetErrorBoxErrors(v, errs); v.errorBoxMessage = ret;