From 8636fd8b8b2c1dc3f6d63114b5e6211a29c613a3 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 3 Apr 2019 23:22:49 +0000 Subject: [PATCH] --- ayanova/src/api/gzvalidate.js | 7 +++++-- ayanova/src/views/inventory-widget-edit.vue | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ayanova/src/api/gzvalidate.js b/ayanova/src/api/gzvalidate.js index a6b727a0..94e6ebd4 100644 --- a/ayanova/src/api/gzvalidate.js +++ b/ayanova/src/api/gzvalidate.js @@ -477,7 +477,10 @@ Here are all the API level error codes that can be returned by the API server: return o.target == ref; }); - console.log("Removed:"); - console.log(m); + //if a target was hit then need to trigger validate again for it to remove the error message + if (m.length > 0) { + var ctrl = getControl(v, ref); + ctrl.errorMessages=[]; + } } }; diff --git a/ayanova/src/views/inventory-widget-edit.vue b/ayanova/src/views/inventory-widget-edit.vue index e058fc9b..ec65ec45 100644 --- a/ayanova/src/views/inventory-widget-edit.vue +++ b/ayanova/src/views/inventory-widget-edit.vue @@ -18,9 +18,10 @@ @@ -40,6 +42,7 @@