Skip to content

Commit

Permalink
reset inputHTMLElement to allow duplicate files
Browse files Browse the repository at this point in the history
  • Loading branch information
elileto committed Dec 18, 2018
1 parent e6baa23 commit 3399562
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/DropZone/DropZone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@ export class DropZone extends React.Component<CombinedProps, State> {
if (onDropRejected && rejectedFiles.length) {
onDropRejected(rejectedFiles);
}
(event.target as HTMLInputElement).value = '';
}

@autobind
Expand Down

0 comments on commit 3399562

Please sign in to comment.