Skip to content

fix: resolve onError type conflict in PromptInputProps#132

Merged
haydenbleasel merged 1 commit intovercel:mainfrom
rexdotsh:fix/onerror-type-confilct-prompt-input
Oct 15, 2025
Merged

fix: resolve onError type conflict in PromptInputProps#132
haydenbleasel merged 1 commit intovercel:mainfrom
rexdotsh:fix/onerror-type-confilct-prompt-input

Conversation

@rexdotsh
Copy link
Contributor

@rexdotsh rexdotsh commented Oct 12, 2025

Types-only: omit onError from HTMLAttributes<HTMLFormElement> in PromptInputProps to resolve the TS conflict with the component’s custom onError (file upload validation: "max_files", "max_file_size", "accept").

Exclude "onError" from HTMLAttributes<HTMLFormElement> to prevent conflict
with the custom onError callback that provides specific file upload error
codes ("max_files", "max_file_size", "accept").
@vercel
Copy link
Contributor

vercel bot commented Oct 12, 2025

@rexdotsh is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@haydenbleasel
Copy link
Member

Fantastic, thanks @rexdotsh 🙏

@haydenbleasel haydenbleasel merged commit 11358e3 into vercel:main Oct 15, 2025
2 of 4 checks passed
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.

2 participants

Comments