[accept] and [multiple] are not working.
See original GitHub issueSo, I have seen there is a lot of issue like this in the list of issue but.
I am using 6.0.1 I have a default upload component (that use ngx-file-drop but also handle file explorer…)
my component is called
<app-file-upload [formats]="'.csv'" [multiple]="false"></app-file-upload>
then inside my component I have
template =>
<file-drop dropZoneLabel="{{files[0]?.relativePath || 'No File'}}"
(onFileDrop)="dropped($event)"
(onFileOver)="fileOver($event)"
(onFileLeave)="fileLeave($event)"
[accept]="formats"
[multiple]="multiple">
component =>
@Input() formats: string;
@Input() multiple: boolean;
never working, I also changed multiple to a string, and formats to like text/csv, always same behaviour, everything is accepted, no filtering.
I ended up adding my custom checking and removing everything by myself.
Is it me that don’t understand or it is just not working ?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Solved - "Accept Multiple Calls" not working | 3CX Forums
When a person is on the phone and a second call comes in, they are unable to know about it - it does...
Read more ><input type="file" multiple="multiple" /> does not allow to select ...
However when I deploy web application and access this JSP; the window explorer popup (which appears on clicking on "browse" does not allow...
Read more >Windows 10 - Unable to select multiple files.
On occasions (at random) my PC decides not to allow me to select multiple files - as in no CTRL and Shift (all...
Read more >Can't Select Multiple Files in Windows 10 or 11? Here's What ...
Here are seven troubleshooting steps you can take to restore your ability to select multiple files in Windows 10 and 11.
Read more >HTML attribute: accept - HTML: HyperText Markup Language
The accept attribute takes as its value a comma-separated list of one or more ... Report problems with this compatibility data on GitHub ......
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 Free
Top 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

Yeah wondering the same. Seems like drag n drop still allows multiple selection even though multiple is set to false. Could this be reopened?
Why was this issue closed? It seems the accept attribute is still not working in the ngx-file-drop component when dropping files.