This commit is contained in:
2019-04-05 21:18:58 +00:00
parent 94ab7e8831
commit 3400b9de3f
2 changed files with 4 additions and 4 deletions

View File

@@ -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:

View File

@@ -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;