Skip to content

Validate files? #105

Answered by airjp73
vedantroy asked this question in Q&A
May 1, 2022 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

I can't really speak to the specifics of how to construct a yup schema for this, but you can definitely validate files in this library. If you were using zod, there's a file helper in zod-form-data.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@vedantroy
Comment options

@vedantroy
Comment options

@vedantroy
Comment options

Answer selected by vedantroy
Comment options

You must be logged in to vote
1 reply
@airjp73
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants