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