Accept filter no work
See original GitHub issueDo you want to request a feature or report a bug?
- [ x] I found a bug
- I want to propose a feature
What is the current behavior?
I’m trying to set that only certain file types need to be selected, a filter. I’ve tried something like this but it doesn’t seem to work.
<Dropzone onDrop={this.onDrop} multiple={false} accept=".jpg,.jpeg"/>
What is the expected behavior?
Select only the files that have that type of extension.
Please mention other relevant information such as the browser version, Operating System and react-dropzone version.
Google chrome: latest version
react-dropzone: "^10.1.6"
Linux ubuntu
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
5 Reasons why your Excel filter may not be working
5 Reasons why your Excel filter may not be working · 1. Check that you have selected all of the data · 2....
Read more >[9 Fixes] For Filter Not Working In Excel Problem
From the “data” tab select the “Filter” option. Now all the items become visible in the filter checkbox list or filtered list.
Read more >'Accept' attribute of input element is not working - Stack Overflow
The filter inside the file browser dialog will not work. You could use a javascript validation on the form onsubmit event to verify...
Read more >Excel Filter Not Working? Try These Fixes - TechNewsToday
However, there might be instances where the filter function might not be working properly. Usually, such an error pops up when there are ......
Read more >Filter does not seem to work in Fiddler | Telerik Forums
1 Answer, 1 is accepted ... Hi Henrique,. The "Hide if URL contains" with a numerical value for port is working as expected...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@rxmarbles : seems not to work.
When I go to select the files, it also shows me those that have a different extension than the one I inserted in the accept, and also makes them select me.
Also on the example page: https://codesandbox.io/s/vvw87k06k5 Makes me select files that are not images.
@Angelk90 If you use the examples from http://react-dropzone.js.org/ do they work for you?