From 89854e1ebb28c6a5eacf6059bd42f3e750a2c252 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 21 Jun 2019 20:48:08 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 12 ++++++------ ayanova/src/components/tag-picker.vue | 11 +++++------ 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index b088d9d4..8f40dd20 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -76,15 +76,15 @@ DONE: For form initialization modify widget edit make an simple init call for on DONE: Turn widget edit ROLES into a static select populated from server - Use the enumpicklist route to get a list of roles and use it for the widget UI DONE: Widget - NOTES FIELD -TODO: TAGS!!! +DONE: TAGS!!! - Implement and componentize - -TODO: Custom fields - - Componentize +### TODO: Custom fields + - Implement then Componentize + - Maybe start with a component first now that I have my feet wet in it, saves time TODO: Record history display / check other AyaNova 7 options / buttons that need to carry forward - - Some of this stuff is stage 2 for the edit form + - implement and componentize - Record history could be displayed on a timeline: https://vuetifyjs.com/en/components/timelines - - componentize + TODO: WIKI - componentize TODO: Attached documents diff --git a/ayanova/src/components/tag-picker.vue b/ayanova/src/components/tag-picker.vue index f9f13f51..37c06264 100644 --- a/ayanova/src/components/tag-picker.vue +++ b/ayanova/src/components/tag-picker.vue @@ -76,12 +76,11 @@ export default { vm.$gzHandleFormError(err); }); }, - value(val) { - //this ensures the parent form gets the onchange event + value(val) { + //this ensures the parent form gets the onchange event + //not actually sure why there are two here but it worked with the datetime picker so I replicated it here this.$emit("input", val); - this.$emit("change", val); //always in UTC - // } - // this.localValue = this.value; + this.$emit("change", val); } }, @@ -89,7 +88,7 @@ export default { addTag() { var theTag = this.tagSearchEntry; theTag = this.normalizeTag(theTag); - //make sure there are no existing of the same tag? + //Maybe need to make sure there are no existing of the same tag? Although that shouldn't be possible technically this.sourcetags.push(theTag); this.value.push(theTag); this.tagSearchEntry = "";