Skip to content

empty file input #383

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.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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