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

Question: clearing the input.value property to circumvent a bug in chrome #883

Open
Nowadays opened this issue Sep 24, 2020 · 0 comments
Open

Comments

@Nowadays
Copy link

I've come across a bug in chrome where if you upload the same file twice in a row, the change event is not emitted unless you clear element.value with null or ''.

I'd like to know what is the purpose of checking if the multiple attribute is present on the input before clearing the value ? (see:

if(this.isEmptyAfterSelection()) {
)

Thank you.

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

1 participant