User lists now working properly with datalist. Fixup for many areas where error constructor was being called with object instead of string
This commit is contained in:
@@ -377,7 +377,8 @@ async function initDataObject(vm) {
|
||||
let url = "form-field-definition/" + vm.$route.params.formCustomTemplateKey;
|
||||
let res = await window.$gz.api.get(url);
|
||||
if (res.error) {
|
||||
throw new Error(res.error);
|
||||
//throw new Error(res.error);
|
||||
throw new Error(window.$gz.errorHandler.errorToString(res, vm));
|
||||
}
|
||||
//set vm.obj to the combined synthesized snapshot array of template and availble fields for working data for this form
|
||||
// - {key, ltdisplay, hideable, custom, required, hide, type}
|
||||
|
||||
Reference in New Issue
Block a user