We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9baa246 + b2a9d18 commit a10c85dCopy full SHA for a10c85d
src/components/field/FileUpload.js
@@ -49,7 +49,8 @@ export default class FileUpload extends Component {
49
files.splice(position, 1);
50
51
this.setState({files: files});
52
- this.setState({disableUpload: this.state.files.length == 0});
+ this.setState({disableUpload: files.length == 0});
53
+
54
};
55
56
openDropZone = () => {
0 commit comments