Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mime type #74

Closed
ghten opened this issue Dec 23, 2019 · 3 comments · Fixed by #75
Closed

Mime type #74

ghten opened this issue Dec 23, 2019 · 3 comments · Fixed by #75

Comments

@ghten
Copy link

ghten commented Dec 23, 2019

Hi,

It is possible in ngx-upload to accept all types of files.

Thanks

@wKoza
Copy link
Owner

wKoza commented Dec 24, 2019

Hi,
Normally, if you don't specify the accept option, ngx-upload doesn't have to fllter your files; Otherwise, you can add the value value '*' like this:

optionsInput: InputFileOptions = {
  multiple: true,
  accept: ['*']
};
``` 

@ghten
Copy link
Author

ghten commented Jan 8, 2020

Hi,

I have this error

Type '"*"' is not assignable to type 'MineTypeEnum'.

Thanks

@wKoza
Copy link
Owner

wKoza commented Jan 9, 2020

Indeed, I've just released a new version with this MineType.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants