diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 18648f7b..b088d9d4 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -76,12 +76,8 @@ 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!!! - - COMPONENTIZE - - - Also it seems to keep the default blank entry in the list that was intended to be nothing to avoid showing the default no data found text WTF? - - Adding a new tag doesn't trigger isDirty anymore as it's out of the form so need to figure out why that's happening (onChange in form not getting called?? maybe need to emit another event like "change" or something??) - - Could auto-insert tags in suggestion list like the current year or month or year/month/day or user name or ?? +TODO: TAGS!!! + - Implement and componentize TODO: Custom fields - Componentize @@ -93,6 +89,8 @@ TODO: WIKI - componentize TODO: Attached documents - componentize +TODO: save and new button in edit form like v7? Or only from main? + - will the menu be too crowded? RETEST HERE ON ALL DEVICES diff --git a/ayanova/src/components/tag-picker.vue b/ayanova/src/components/tag-picker.vue index 08bdbd8b..f9f13f51 100644 --- a/ayanova/src/components/tag-picker.vue +++ b/ayanova/src/components/tag-picker.vue @@ -76,14 +76,9 @@ export default { vm.$gzHandleFormError(err); }); }, - value(val) { - // var hasChanged = false; - // if (this.oldDate != null && this.date != this.oldDate) { - // hasChanged = true; - // } - // this.oldDate = this.date; - // if (hasChanged) { - this.$emit("input", val); //always in UTC + value(val) { + //this ensures the parent form gets the onchange event + this.$emit("input", val); this.$emit("change", val); //always in UTC // } // this.localValue = this.value; diff --git a/ayanova/src/views/inventory-widget-edit.vue b/ayanova/src/views/inventory-widget-edit.vue index 259261db..2c18fb98 100644 --- a/ayanova/src/views/inventory-widget-edit.vue +++ b/ayanova/src/views/inventory-widget-edit.vue @@ -160,47 +160,11 @@ :error-messages="this.$gzform.serverErrors(this, 'tags')" @change="onChange('tags')" > - - +