Skip to content

Commit 1a836f8

Browse files
Update packages/core/src/components/Form.tsx
1 parent 8f4a256 commit 1a836f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/components/Form.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,7 @@ export default class Form<
803803
_set(errorSchemaCopy, path, newErrorSchema);
804804
newErrorSchema = errorSchemaCopy;
805805
}
806+
// If there are pending changes in the queue, skip live validation since it will happen with the last change
806807
if (mustValidate && this.pendingChanges.length === 1) {
807808
const schemaValidation = this.validate(newFormData, schema, schemaUtils, retrievedSchema);
808809
let errors = schemaValidation.errors;

0 commit comments

Comments
 (0)