Skip to content

Commit

Permalink
fix validation function crashing output of node
Browse files Browse the repository at this point in the history
  • Loading branch information
luisthieme committed Sep 10, 2024
1 parent 6c656ed commit 5d1d468
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ui/components/UIDynamicForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 ??
Expand Down

0 comments on commit 5d1d468

Please sign in to comment.