From 26d8ffa7de87d358382617c1506ef6619ab2452c Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 22 Apr 2019 23:24:33 +0000 Subject: [PATCH] --- ayanova/src/api/gzvalidate.js | 3 ++ ayanova/src/views/inventory-widget-edit.vue | 37 +++++++++++++++++++-- 2 files changed, 37 insertions(+), 3 deletions(-) diff --git a/ayanova/src/api/gzvalidate.js b/ayanova/src/api/gzvalidate.js index 320a15f9..1672e554 100644 --- a/ayanova/src/api/gzvalidate.js +++ b/ayanova/src/api/gzvalidate.js @@ -362,6 +362,7 @@ export default { vm.appError = null; //clear out actual message box display vm.errorBoxMessage = null; + vm.formValid = true; }, /////////////////////////////// // setErrorBoxErrors @@ -407,5 +408,7 @@ export default { vm.obj[ref] = val; triggeringChange = false; } + vm.formDirty = true; + vm.formValid = vm.$refs.form.validate(); } }; diff --git a/ayanova/src/views/inventory-widget-edit.vue b/ayanova/src/views/inventory-widget-edit.vue index 5db3f7c4..a473c8f1 100644 --- a/ayanova/src/views/inventory-widget-edit.vue +++ b/ayanova/src/views/inventory-widget-edit.vue @@ -19,6 +19,7 @@ @@ -112,6 +115,18 @@ + + + READY: {{formReady}} +
+ DIRTY: {{formDirty}} +
+ VALID: {{formValid}} +
+ READONLY: {{formReadOnly}} +
+
+