Skip to content

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

@Nowadays

Description

@Nowadays

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions