From 9d6355470ea260a716dc3062e453182c1057148f Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 4 Jan 2021 21:48:12 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 4 +++- ayanova/src/views/ay-customize.vue | 14 ++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 0085de7f..f1d5452b 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -6,7 +6,9 @@ MISC ITEMS THAT CAME UP todo:formcustom form is not localizing on the fly, it was expected that it would be entered via the objects edit form but this is not always the case, e.g. record history form etc Make it fetch on the fly like the datagrid or however is most appropriate -todo: history items, fetch locale text in name as appropriate if it has the lt:, I think there is already code to handle this scenario extant, maybe in form errors? + + + todo: idea - move sublists into menu option in grid list and edit form e.g. Unit Models doesn't really need to sit always in the nav panel to the left and it's getting crowded in the service "pane" anyway so Move the unitModels into the menu of the Units list and into the menu of the Unit edit form and remove from the Service nav panel diff --git a/ayanova/src/views/ay-customize.vue b/ayanova/src/views/ay-customize.vue index 9735e16f..e07737f8 100644 --- a/ayanova/src/views/ay-customize.vue +++ b/ayanova/src/views/ay-customize.vue @@ -385,9 +385,21 @@ async function initDataObject(vm) { //Iterate ObjectFields //create a new object based on the f.a.f. item and any existing template values for that item + //Iterate first to ensure the cached translations of field keys + //(due to this form being opened directly from things like record history so might not be cached yet) + let requiredTranslations=[]; + //for (var i=0, l=arr.length; i