issue: cant reset input file #12183
Unanswered
rendivs925
asked this question in
Q&A
Replies: 4 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
I have the same issue, any workaround? |
Beta Was this translation helpful? Give feedback.
0 replies
-
having this same issue, as well as array fields |
Beta Was this translation helpful? Give feedback.
0 replies
-
The workaround was to create a controlled file input component, the library cannot reset the input if it's not controlled. https://medium.com/trabe/controlled-file-input-components-in-react-3f0d42f901b8 |
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.
-
Version Number
latest and greatest
Codesandbox/Expo snack
none
Steps to reproduce
Expected behaviour
the input file should be no choosen file after reset
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions