diff --git a/src/Files.js b/src/Files.js index 693f51e..f2bcff0 100644 --- a/src/Files.js +++ b/src/Files.js @@ -219,7 +219,7 @@ class Files extends React.Component { htmlFor: id || this.id }; }, - validate: this.validateFiles, + validateFiles: this.validateFiles, browseFiles: ({ onSuccess, onError }: BrowseFilesParams = {}) => { this.browseFilesHandler({ onSuccess, onError }); },