This commit is contained in:
2020-09-22 20:29:56 +00:00
parent 557e6c1e43
commit 34c9f4e485
4 changed files with 126 additions and 42 deletions

View File

@@ -1,4 +1,4 @@
export default {
version: "8.0.0-alpha.16",
version: "8.0.0-alpha.19",
copyright: "© 1999-2020, Ground Zero Tech-Works Inc."
};

View File

@@ -686,9 +686,15 @@ export default {
///////////////////////////////
// On fieldValueChanged handler
// This is required so that server errors can be cleared when input is changed
//
fieldValueChanged(vm, ref) {
// formReference is an optional string name of the form ref property if alternative named form
fieldValueChanged(vm, ref, formReference) {
let that = this;
let formControl = null;
if (formReference == undefined) {
formControl = vm.$refs.form;
} else {
formControl = vm.$refs[formReference];
}
//this is currently required to ensure that this method runs after all the broken rule checks have settled
Vue.nextTick(function() {
//-------------
@@ -738,7 +744,8 @@ export default {
}
//Update the form status
let formValid = vm.$refs.form.validate();
let formValid = formControl.validate();
//let formValid = vm.$refs.form.validate();//##FORM REFERENCE
// console.log(
// "gzform:fieldValueChanged - form validity being set to ",
// formValid