Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: file extension validation #698

Conversation

sourabpramanik
Copy link
Contributor

What does this PR do?

This PR fixes the file input upload extension validation. First found in the create function step 2.

fix

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)

Related PRs and Issues

Fixes #7362

Have you read the Contributing Guidelines on issues?

Yes

Copy link

vercel bot commented Dec 30, 2023

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

A member of the Team first needs to authorize it.

@TorstenDittmann
Copy link
Contributor

Not sure resetting the input value when a file with a wrong extension is submitted is the way to go.

This is not following native behavior 👍🏻

@sourabpramanik
Copy link
Contributor Author

sourabpramanik commented Jan 2, 2024

@TorstenDittmann thank you for pointing that out. What other approach can I take into consideration? Can you please guide me.

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.

🐛 Bug Report: Able to move to next screen after selecting wrong file extension for Function
2 participants