Skip to content

empty file input #383

@ChrisFrostBSI

Description

@ChrisFrostBSI

I have some JavaScript trying to clear file input element by setting the value to an empty string. This showed 2 problems.

1: The change event should not call if JavaScript changes the value (checked on Chrome 93 and Firefox 92).

2: The file list should be empty but instead it has 1 file in the list. This path for that file is my current working directory. The same problem occurs with using setValue in Java test code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions