This commit is contained in:
2020-12-21 19:33:34 +00:00
parent e38dff120a
commit 2ee4c01aeb
3 changed files with 9 additions and 3 deletions

View File

@@ -790,6 +790,12 @@ export default {
} else { } else {
formControl = vm.$refs[formReference]; formControl = vm.$refs[formReference];
} }
//dev error on form?
if (!formControl) {
throw `gzform::fieldVAlueChanged formControl is not found ref:${ref}, formReferences:${formReference} `;
}
//this is currently required to ensure that this method runs after all the broken rule checks have settled //this is currently required to ensure that this method runs after all the broken rule checks have settled
Vue.nextTick(function() { Vue.nextTick(function() {
//------------- //-------------

View File

@@ -220,7 +220,7 @@ export default {
startDate: window.$gz.locale.nowUTC8601String(), startDate: window.$gz.locale.nowUTC8601String(),
stopDate: null, stopDate: null,
userId: window.$gz.store.state.userId, userId: window.$gz.store.state.userId,
color: null color: "#FFFFFFFF"
}, },
tab: 0, tab: 0,
@@ -642,7 +642,7 @@ function generateMenu(vm) {
readOnly: vm.formState.readOnly, readOnly: vm.formState.readOnly,
icon: "$ayiStickyNote", icon: "$ayiStickyNote",
title: "Reminder", title: "Reminder",
helpUrl: "form-ay-reminder", helpUrl: "form-home-reminders",
formData: { formData: {
ayaType: window.$gz.type.Reminder, ayaType: window.$gz.type.Reminder,
recordId: vm.$route.params.recordid, recordId: vm.$route.params.recordid,

View File

@@ -14,7 +14,7 @@ export default {
isMain: true, isMain: true,
icon: "$ayiCalendarCheck", icon: "$ayiCalendarCheck",
title: "Review", title: "Review",
helpUrl: "form-ay-review" helpUrl: "form-home-reviews"
}); });
} }
}; };