Limit accepted files to text files

pull/10616/head
Alex P 2017-06-21 12:47:03 -07:00
parent 57406d5fbc
commit 6877ba591d
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ const WriteDataBody = ({
onChange={handleFile}
className="write-data-form--upload"
ref={r => (inputRef = r)}
accept="text/*"
/>
<button
className="btn btn-sm btn-primary"