From 63dc3319b3e18ae042ad49756d778a0c76870dc6 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 22 Nov 2019 00:25:32 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 4 +++- ayanova/src/views/inventory-widget-edit.vue | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 0ac7bed1..3e146c9f 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -61,7 +61,9 @@ TODO: Save button isn't enabling on changes in new record when it should. Enter TODO: Make sure can easily make new record in Widget form before getting into deeper stuff or making any other object forms. - +TODO: UI would be greatly enhanced if server defined form customization rules for required fields both Custom and regular were incorporated into client end before roundtripping to the server + - Right now it has to save the record to get the return errors about required fields, that is shit. The client is easily able to tell what is required in the form customization so it should be able to surface that up front + - This will save bandwidth and annoyance factor 1000 for people TODO: Bug? Set widget edit form times to 4:20pm and observe that in the main grid list it shows as 320 pm!? diff --git a/ayanova/src/views/inventory-widget-edit.vue b/ayanova/src/views/inventory-widget-edit.vue index 7a82aa5a..6c228468 100644 --- a/ayanova/src/views/inventory-widget-edit.vue +++ b/ayanova/src/views/inventory-widget-edit.vue @@ -281,6 +281,8 @@ export default { //it's a new record so it can't be deleted so... this.rights.delete = false; + //NOTE: If this object requires defaults from the server for a new object then here is where it woudld fetch them + //modify the menu as necessary generateMenu(this); }