Skip to content

Commit

Permalink
Merge pull request #79 from raucao/feature/accept_all_filetypes
Browse files Browse the repository at this point in the history
Accept all filetypes (not just images)
  • Loading branch information
raucao authored Dec 27, 2020
2 parents d682763 + 7a652e2 commit ee04297
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/components/file-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import Component from '@ember/component';
export default Component.extend({

tagName: 'input',
attributeBindings: ['type', 'accept', 'multiple', 'disabled'],
attributeBindings: ['type', 'multiple', 'disabled'],
type: 'file',
accept: 'image/*',
multiple: false,

attachment: null,
Expand Down

0 comments on commit ee04297

Please sign in to comment.