This commit is contained in:
2021-04-29 18:36:31 +00:00
parent fa4349fc02
commit 89fabfe3fd
6 changed files with 46 additions and 8 deletions

View File

@@ -811,8 +811,15 @@ export default {
}
//dev error on form?
if (!formControl) {
throw `gzform::fieldValueChanged formControl is not found ref:${ref}, formReferences:${formReference} `;
if (formControl == null) {
if (vm.$ay.dev) {
//not necessarily an error, can happen during form init
console.trace(
`gzform::fieldValueChanged formControl is not found ref:${ref}, formReferences:${formReference} `
);
} else {
return;
}
}
//this is currently required to ensure that this method runs after all the broken rule checks have settled