This commit is contained in:
@@ -52,9 +52,12 @@
|
||||
so if you forgot if you entered a particular user or not in the midst of entry you can see it just above
|
||||
|
||||
|
||||
todo: need to implement layered (ordered) save now so can test
|
||||
todo: need an editable control at every level for proper test of partical update
|
||||
todo: need the state control at least enough to test as it's a critical part
|
||||
todo: need dirty tracking stuff for each level to set / check so top level save can know what to update
|
||||
do I need "IsNew" as well?? or can I infer that somehow (no concurrency)
|
||||
|
||||
|
||||
USAGE NOTES:
|
||||
v-if should always be as high up as possible for performance, so don't let a component decide to render, make the parent do the v-if!!
|
||||
|
||||
@@ -397,6 +397,12 @@ export default {
|
||||
//clear any errors vm might be around from previous submit
|
||||
window.$gz.form.deleteAllErrorBoxErrors(vm);
|
||||
|
||||
//###############################
|
||||
//walk the tree and save dirty
|
||||
//items in order starting with
|
||||
//state here
|
||||
//###############################
|
||||
|
||||
let res = await window.$gz.api.upsert(url, vm.obj);
|
||||
|
||||
if (res.error) {
|
||||
|
||||
Reference in New Issue
Block a user