bergben / ng2-file-input

Angular 2 component that implements a drag and drop or select file selection, including preview.
MIT License
25 stars 11 forks source link

Files are not filtered by extensions when using dragging files #26

Closed koljada closed 6 years ago

koljada commented 6 years ago

It seems like "extensions" option is working only when uploading files using Browse button. All files treated as valid when dragging(onInvalidDenied event also is not fired).

koljada commented 6 years ago

Sorry, I forgot to put brackets around attribute

MoradAbdelgaber commented 6 years ago

extensions does not work for me I did not specify any extension as it is default jpg and this what I needs . Is there any Idea to fix this