Skip to content

Commit

Permalink
FIX Validation error message with ValidationResult::addError
Browse files Browse the repository at this point in the history
  • Loading branch information
sabina-talipova committed Sep 27, 2023
1 parent 2fea4a6 commit 8c205f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/dist/js/bundle.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions client/src/containers/FormBuilderLoader/FormBuilderLoader.js
Expand Up @@ -184,10 +184,10 @@ class FormBuilderLoader extends Component {
...field,
message,
};
})
},
}),
// Non-field messages
messages: schema.errors.filter((error) => !error.field),
messages: schema.errors.filter((error) => !error.field),
},
};

// Can be safely discarded
Expand Down

0 comments on commit 8c205f2

Please sign in to comment.