diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 20d397c4..11ecd01c 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -45,13 +45,7 @@ CURRENT ROADMAP CURRENT TODOs =-=-=-=-=-=-= -TODO: What is the default value for time with a date only picker and date for a time only picker? Date picker and time picker were copied from dateAndTime picker and seem to be retaining the full date and time when they should really only have a single part or is that wrong? - - i.e. Date picker is still accessing the time and factoring it in and Time picker is still using the date - - DateOnly method used in time picker and timeonly method used in datepicker when setting the value - - What is the scope of the data usage going to be? - - Will I need to report on a time only custom field? - - What is it in v7 right now, a full date and time value or ...? - - Theoretically the unused part is really unnecessary but these things have a way of being necessary later so think about it now and refer to v7 as a helpful reference + TODO: In a few places in my own components I'm emitting multiple events for changes when possibly it should just be one - Determine which events are being emitted in custom controls diff --git a/ayanova/src/components/custom-fields-control.vue b/ayanova/src/components/custom-fields-control.vue index eca52510..9700b8b8 100644 --- a/ayanova/src/components/custom-fields-control.vue +++ b/ayanova/src/components/custom-fields-control.vue @@ -241,7 +241,9 @@ export default { //emit the new data so it syncs with the parent source var ret = JSON.stringify(cData); + //THis is absolutely required no idea why though this.$emit("update:value", ret); + //this.$emit("input", ret); //always in UTC //this triggers the onchange routine in the parent form //so that the dirty checking works this.$emit("change", ret); diff --git a/ayanova/src/components/date-control.vue b/ayanova/src/components/date-control.vue index 0bfecd95..f8593f58 100644 --- a/ayanova/src/components/date-control.vue +++ b/ayanova/src/components/date-control.vue @@ -36,6 +36,7 @@