Type Errors When Using File Input w/ react-hook-form & shadcn/ui

Hello! I was wondering if anyone has an example of them using react-hook-form and shadcn/ui for a file upload. I have been attempting to add this to a <Form /> but I am running into various type errors. I made a issue which goes a little more into depth about the issues I am running into:

https://github.com/shadcn-ui/ui/issues/1085

Thanks for the help!
GitHub
Hi, I am using the <Form /> component with a file input inside of it. I am running into various type errors however, primarily with the deconstructed field values on the input saying type Fil...
Was this page helpful?