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

Add support for accept in file open dialog #17

Closed zivlevy closed 6 years ago

zivlevy commented 6 years ago

Please consider adding support for the accept attribute of the file input dialog so users could only allow relevant files to be chosen once the user clicks the browse button

bergben commented 6 years ago

Hi @zivlevy, good idea, thanks for the PR.. I have just released version 1.1.0 with this merge.