diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 854ad3e8..6625d049 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -49,9 +49,9 @@ TODO: Custom fields component - implement each type of control - Add code to coerce the value or handle a completely change of datatype on the record - i.e. it was text and now is a date etc - +TODO: Error handler is not recognizing the same error over and over again and it should stop after so many dev errors TODO: Make sure can easily make new record in Widget form before getting into deeper stuff or making any other object forms. diff --git a/ayanova/src/components/custom-fields-control.vue b/ayanova/src/components/custom-fields-control.vue index d292b150..e7ae16b4 100644 --- a/ayanova/src/components/custom-fields-control.vue +++ b/ayanova/src/components/custom-fields-control.vue @@ -48,13 +48,34 @@ >
- DATE CONTROL HERE +
- TIME CONTROL HERE +
- DATE and TIME CONTROL HERE +
- NUMBER INPUT CONTROL HERE +
- CHECKBOX INPUT CONTROL HERE +
+
+ + + + + + + Close + + + + + +

+ {{ error }} +

+
+ + diff --git a/ayanova/src/main.js b/ayanova/src/main.js index b8625f27..acad4dce 100644 --- a/ayanova/src/main.js +++ b/ayanova/src/main.js @@ -32,6 +32,7 @@ import "@/assets/css/main.css"; //controls import dateTimeControl from "./components/date-time-control.vue"; +import dateControl from "./components/date-control.vue"; import tagPicker from "./components/tag-picker.vue"; import customFieldsControl from "./components/custom-fields-control.vue"; import errorhandler from "./api/errorhandler"; @@ -163,6 +164,7 @@ Vue.filter("boolastext", function vueFilterBoolAsText(value) { //GZ COMPONENTS // Vue.component("gz-date-time-picker", dateTimeControl); +Vue.component("gz-date-picker", dateControl); Vue.component("gz-tag-picker", tagPicker); Vue.component("gz-custom-fields", customFieldsControl);