You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not a bug, but rather a request to change the TS definition for the event parameter for onSubmit from React.FormEvent<HTMLElement> to React.FormEvent<HTMLFormElement> in the Form component. This seems more appropriate and will allow it to handle events from other libraries like Formik without a compilation error. I don't mind submitting the PR to make this quick change if there is agreement.
The text was updated successfully, but these errors were encountered:
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
It's not a bug, but rather a request to change the TS definition for the
event
parameter foronSubmit
fromReact.FormEvent<HTMLElement>
toReact.FormEvent<HTMLFormElement>
in theForm
component. This seems more appropriate and will allow it to handle events from other libraries like Formik without a compilation error. I don't mind submitting the PR to make this quick change if there is agreement.The text was updated successfully, but these errors were encountered: