React-Hook-Form Input File submit value #12449
Unanswered
ibrahimbdr
asked this question in
Q&A
Replies: 1 comment
-
Hi! "[object FileList]" means that field value is coercing to string. Can you show how you get value on submit? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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