enhancementhelp wanted
倉庫指標
- Star
- (828 star)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
I have a case in which i upload an image with react-s3-uploader. Then the users deletes it. And wants to reupload same photo.
The input field does not detect a change if the same file is selected.
The fix i used is the following:
this.uploadInput.value=null where uploadInput if the ref to the react component.
StackOverflow issue here : https://stackoverflow.com/questions/39484895/how-to-allow-input-type-file-to-select-the-same-file-in-react-component/40429197