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

if [max]="1" is set and clear button hit, js error is thrown #224

Open
ghost opened this issue Dec 11, 2018 · 0 comments
Open

if [max]="1" is set and clear button hit, js error is thrown #224

ghost opened this issue Dec 11, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 11, 2018

Hello,

if I set the parameter [max] to 1 (I did not try it with a higher number) and clear the file by hitting the clear button or the small X button on the thumbnail, a js error appears on the console:
ERROR TypeError: "this.inputElement is undefined".

I read other users had similar issues with the [max] parameter, but they had different errors thrown and the solutions suggested there don't work here (apart from not using the [max] parameter).

Regards: Jozsef

@ghost ghost changed the title BUG: if [max]="1" is set and clear button hit, js error is thrown if [max]="1" is set and clear button hit, js error is thrown Dec 11, 2018
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

No branches or pull requests

0 participants