This commit is contained in:
@@ -75,7 +75,7 @@ todo: if dashboard view is empty should be a string displayed saying nothing sel
|
|||||||
|
|
||||||
|
|
||||||
TODO: shorten word "control" in my custom controls to ctl, why waste bytes?
|
TODO: shorten word "control" in my custom controls to ctl, why waste bytes?
|
||||||
|
TODO: gzErrorBox in widget form will not display if form is not ready and form may not be ready if there is an error? (or is that correct?)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-row>
|
<v-row v-if="formState.ready">
|
||||||
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
|
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
|
||||||
<v-col
|
<v-col
|
||||||
v-for="(item, i) in availableItems"
|
v-for="(item, i) in availableItems"
|
||||||
@@ -118,7 +118,7 @@ export default {
|
|||||||
vm.formState.serverError = res.error;
|
vm.formState.serverError = res.error;
|
||||||
window.$gz.form.setErrorBoxErrors(vm);
|
window.$gz.form.setErrorBoxErrors(vm);
|
||||||
} else {
|
} else {
|
||||||
vm.obj = res.data;
|
vm.obj = JSON.parse(res.data.view);
|
||||||
//modify the menu as necessary
|
//modify the menu as necessary
|
||||||
generateMenu(vm);
|
generateMenu(vm);
|
||||||
//Update the form status
|
//Update the form status
|
||||||
|
|||||||
Reference in New Issue
Block a user