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 }}