Skip to content

Commit

Permalink
Fix #2792: FileUpload advanced mode custom uploader (#2795)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Apr 24, 2022
1 parent 9bb3c5f commit 150ef99
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/lib/fileupload/FileUpload.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ export const FileUpload = React.memo(React.forwardRef((props, ref) => {

const upload = (files) => {
files = files || filesState;
if (files && files.nativeEvent) {
files = filesState;
}

if (props.customUpload) {
if (props.fileLimit) {
Expand Down

0 comments on commit 150ef99

Please sign in to comment.