leewinder / ng2-file-drop

An Angular module for simple desktop file drag and drop with automatic file validation and dynamic style adjustment.
MIT License
28 stars 26 forks source link

attribute to support accepted file extentions #37

Open kosich opened 7 years ago

kosich commented 7 years ago

Currently [ng2FileDropSupportedFileTypes] supports only file types, in contrast to <input>'s accept, which supports both types and extensions.

Current behavior: its possible to limit files only by file type

Expected: single attribute to support both file types and file extensions

-- thanks for the plugin! --