first vaccinated commit!!
This commit is contained in:
@@ -508,9 +508,7 @@ export default {
|
||||
//handle errors
|
||||
if (this.saveResult.errors != null) {
|
||||
//# FAIL ROUTE
|
||||
//console.log("WTF?", formErrorFromSaveResult(this));
|
||||
const processedErrors = formErrorFromSaveResult(this);
|
||||
//console.log("ProcessedErrors is", processedErrors);
|
||||
vm.formState.serverError = processedErrors; //this is the bit that triggers field and row errors to display as they pickup from this setting
|
||||
window.$gz.form.setErrorBoxErrors(vm); //set generalerror errors in error box at top, not related to form field errors which happen alternatively based on formState.serverError which is confusing
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user