Skip to content

Commit 398bbdc

Browse files
Update packages/core/src/components/Form.tsx
Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com>
1 parent eeedbed commit 398bbdc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/src/components/Form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ export default class Form<
12231223
let errorSchema = schemaValidation.errorSchema;
12241224
const schemaValidationErrors = errors;
12251225
const schemaValidationErrorSchema = errorSchema;
1226-
const hasError = errors.length > 0 || (extraErrors && extraErrorsAreWarnings !== true);
1226+
const hasError = errors.length > 0 || (extraErrors && !extraErrorsAreWarnings);
12271227
if (hasError) {
12281228
if (extraErrors) {
12291229
const merged = validationDataMerge(schemaValidation, extraErrors);

0 commit comments

Comments
 (0)