We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeedbed commit 398bbdcCopy full SHA for 398bbdc
1 file changed
packages/core/src/components/Form.tsx
@@ -1223,7 +1223,7 @@ export default class Form<
1223
let errorSchema = schemaValidation.errorSchema;
1224
const schemaValidationErrors = errors;
1225
const schemaValidationErrorSchema = errorSchema;
1226
- const hasError = errors.length > 0 || (extraErrors && extraErrorsAreWarnings !== true);
+ const hasError = errors.length > 0 || (extraErrors && !extraErrorsAreWarnings);
1227
if (hasError) {
1228
if (extraErrors) {
1229
const merged = validationDataMerge(schemaValidation, extraErrors);
0 commit comments