React hook form | type='file' is not working
Unanswered
fardeen awais posted this in #help-forum
I has been using react hook form library to take the form. But when i use file type to take input. It doesn't appears to me. In inspect element it shows that their is an component but in actual it is hidden.
You can see my Input.tsx component and in the picture.
Here is my UploadModal.tsx in which Input.tsx component is used. All other types of input you can see is working perfectly.
You can see my Input.tsx component and in the picture.
Here is my UploadModal.tsx in which Input.tsx component is used. All other types of input you can see is working perfectly.