viclafouch / mui-file-input

A file input designed for the React library MUI (Material UI) V6
https://viclafouch.github.io/mui-file-input/
MIT License
79 stars 17 forks source link

[object File] file issue while submitting #4

Closed Shivampio closed 1 year ago

Shivampio commented 1 year ago

While using React hook form and then submitting the data getting [object File] except File. Replicate the exact same https://codesandbox.io/s/react-hook-form-with-mui-file-input-llrkce?fontsize=14&hidenavigation=1&theme=dark&file=/src/index.js but still unable to resolve it in Typescript.

viclafouch commented 1 year ago

Hello !

I don't see any issue in the codesandbox :/

I have the correctly prompt message when submitting the form