diff --git a/src/components/fileupload/FileUpload.js b/src/components/fileupload/FileUpload.js index 41367edbc0..66c583dd78 100644 --- a/src/components/fileupload/FileUpload.js +++ b/src/components/fileupload/FileUpload.js @@ -186,7 +186,9 @@ export class FileUpload extends Component { } clearInputElement() { - this.fileInput.value = ''; + if (this.fileInput) { + this.fileInput.value = ''; + } } clearIEInput() {