In <input type='file'>, the fact that you can use the accept prop for random extensions (like accept='myext') is rather handy for all those that create and use proprietary file types.
Getting into react-dropzone, is it true that this example by @export-mike (copied below) is currently the best shot?
Are there any plans for extending the accept prop in the same way file inputs work? When users browse files, it's nice to have them filtered by the extension(s) that'll work.
In
<input type='file'>
, the fact that you can use theaccept
prop for random extensions (likeaccept='myext'
) is rather handy for all those that create and use proprietary file types.Getting into react-dropzone, is it true that this example by @export-mike (copied below) is currently the best shot?
Are there any plans for extending the accept prop in the same way file inputs work? When users browse files, it's nice to have them filtered by the extension(s) that'll work.
Thank you!