This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user