summaryrefslogtreecommitdiff
path: root/app/client/common
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-06 17:06:40 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-06 17:06:40 +0200
commit813a1bb59d1b605cf5420148711aa6d72aeea952 (patch)
tree34b8c3cb9ce6922fcb54ee66dac77ffa2e1a0783 /app/client/common
parent341b76441b0c9a3167d81c8d4fd8e7a260763604 (diff)
ok happy with this
Diffstat (limited to 'app/client/common')
-rw-r--r--app/client/common/fileUpload.component.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/client/common/fileUpload.component.js b/app/client/common/fileUpload.component.js
index e723a0c..bc78184 100644
--- a/app/client/common/fileUpload.component.js
+++ b/app/client/common/fileUpload.component.js
@@ -27,6 +27,7 @@ class FileUpload extends Component {
<span>{this.props.title}</span>
<input
type='file'
+ accept={this.props.accept || '*/*'}
multiple={this.props.multiple}
onChange={this.handleChange}
/>