-
Is it possible to validate file uploads using this library? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
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 |
Beta Was this translation helpful? Give feedback.
-
@airjp73 Is there a way to set a form value that derives value solely from JS? I'm not sure how to explain this so here's an example:
|
Beta Was this translation helpful? Give feedback.
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
.