Skip to content

Change form event type: React.FormEvent to React.SubmitEvent#4139

Open
Jaime02 wants to merge 1 commit intoelectric-sql:mainfrom
Jaime02:patch-1
Open

Change form event type: React.FormEvent to React.SubmitEvent#4139
Jaime02 wants to merge 1 commit intoelectric-sql:mainfrom
Jaime02:patch-1

Conversation

@Jaime02
Copy link
Copy Markdown

@Jaime02 Jaime02 commented Apr 20, 2026

FormEvent is deprecated.
interface React.FormEvent<T = Element>
@deprecated
FormEvent doesn't actually exist. You probably meant to use ChangeEvent, InputEvent, SubmitEvent, or just SyntheticEvent instead depending on the event type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant