diff --git a/src/components/react-hook-form/Form.tsx b/src/components/react-hook-form/Form.tsx index 290fe8ab..76038dd9 100644 --- a/src/components/react-hook-form/Form.tsx +++ b/src/components/react-hook-form/Form.tsx @@ -44,7 +44,9 @@ export const Form = forwardRef(function Form<
{ + onSubmit ? void form.handleSubmit(onSubmit)(event) : undefined + }} > {children}