Skip to content

Conversation

@chaxus
Copy link
Contributor

@chaxus chaxus commented Nov 25, 2025

Description

A small bug where, after removing a selected file from the Prompt Input, you couldn't pick the same file again.

Solution

Reset the input value to an empty string after processing the file in the handleChange function.

Canceled or removed files can now be re-selected.

Thanks for reviewing! 😊

@vercel
Copy link
Contributor

vercel bot commented Nov 25, 2025

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

A member of the Team first needs to authorize it.

@chaxus chaxus changed the title fix(prompt-input): Reset file input value to allow re-selecting previ… fix(prompt-input): Reset file input value to allow re-selecting previously removed files Nov 25, 2025
@haydenbleasel
Copy link
Member

Thanks @chaxus - appreciate it! 🙏

@haydenbleasel haydenbleasel merged commit a726985 into vercel:main Nov 26, 2025
5 of 7 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