From 4c7eeb8e7b18bc59631a46f185ec70f4de241064 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 8 Mar 2019 18:57:00 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 1 + .../src/components/gzdateandtimepicker.vue | 26 +++++++++++++++++-- ayanova/src/views/inventory-widget-edit.vue | 2 ++ 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 9de5618c..52a8a7d0 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -18,6 +18,7 @@ TODO NEXT DATETIME - Does it validate properly? NO. Get validation working!! + - https://baianat.github.io/vee-validate/concepts/components.html#how-it-works - possibly helpful https://stackoverflow.com/questions/47982820/vuejs-vee-validate-in-custom-components - or https://duckduckgo.com/?q=vee+validate+with+custom+component&t=ffab&atb=v134-6__&ia=web diff --git a/ayanova/src/components/gzdateandtimepicker.vue b/ayanova/src/components/gzdateandtimepicker.vue index 75364de0..ae1aed2c 100644 --- a/ayanova/src/components/gzdateandtimepicker.vue +++ b/ayanova/src/components/gzdateandtimepicker.vue @@ -11,6 +11,7 @@ v-model="formatDate" v-bind:label="label" readonly + :error="!(!error)" > @@ -22,7 +23,15 @@ @@ -38,6 +47,7 @@ prepend-icon="fa-calendar-alt" disabled > +

{{ error }}