Skip to content

Commit

Permalink
add throttledValidateForm in detachFromForm (#713)
Browse files Browse the repository at this point in the history
Co-authored-by: Белоусов Артем Сергеевич <[email protected]>
  • Loading branch information
ArtemBelousov152 and Белоусов Артем Сергеевич authored Jun 14, 2024
1 parent 57f7773 commit 6737b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Formsy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ export class Formsy extends React.Component<FormsyProps, FormsyState> {
this.inputs = this.inputs.slice(0, componentPos).concat(this.inputs.slice(componentPos + 1));
}

this.validateForm();
this.throttledValidateForm();
};

// Checks if the values have changed from their initial value
Expand Down

0 comments on commit 6737b9e

Please sign in to comment.