https://github.com/satansdeer/rhf-validate-file
React hook form file upload validation example
https://github.com/satansdeer/rhf-validate-file
react react-hook-form
Last synced: about 1 month ago
JSON representation
React hook form file upload validation example
- Host: GitHub
- URL: https://github.com/satansdeer/rhf-validate-file
- Owner: satansdeer
- Created: 2020-06-28T12:09:02.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T22:59:45.000Z (over 2 years ago)
- Last Synced: 2025-03-30T23:12:53.399Z (2 months ago)
- Topics: react, react-hook-form
- Language: JavaScript
- Homepage: https://youtu.be/tYGTjxhzrqY
- Size: 1.46 MB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Validate file fields with React Hook Form and Yup
> There is an [old video](https://www.youtube.com/watch?v=tYGTjxhzrqY) where I show how to set up file field validation using Yup and React Hook Form. There I used the old version of this repo as an example. ⚠️ Do not follow the instructions in that video ⚠️ There are some errors with how the validations are defined.
> Check the source code of this repo instead.