React-Hook-Form Input File submit value #12449
Unanswered
ibrahimbdr
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey Devs,
I have a question in react-hook-form where I have a file-input inside react hook form and I am using custom input like:
import {Controller} from 'react-hook-form';
and inside the FileInput
I have my rendered input defined as:
when submitting the form, I am getting value for the input as "[object FileList]" of type string
Do any one knows how resolve this issue?
Beta Was this translation helpful? Give feedback.
All reactions