From 5d1d468f9b52b9526006d05a221646acc1cd946c Mon Sep 17 00:00:00 2001 From: luisthieme Date: Tue, 10 Sep 2024 10:08:17 +0200 Subject: [PATCH] fix validation function crashing output of node --- ui/components/UIDynamicForm.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/components/UIDynamicForm.vue b/ui/components/UIDynamicForm.vue index 2bbb196..f8351fe 100644 --- a/ui/components/UIDynamicForm.vue +++ b/ui/components/UIDynamicForm.vue @@ -486,8 +486,10 @@ export default { } }, checkFormState(state) { - const field = this.$formkit.get('field_01'); - console.info(field.context.state.valid); + // const field = this.$formkit.get('field_01'); + // console.info(field.context.state.valid); + + return true; // loop over fields then this.$formkit.get(this.id) -> check error state if all ok return true else return false // ?? wie unterscheiden wir welche actions dieser validierungsfehler betrifft ??