Skip to content

Signature of onFileDrop seems wrong #1240

@ewalddieser

Description

@ewalddieser

onFileDrop expects a method with signature (files: File[]) but it actually passes a FileList.

In most cases it's maybe not even noticeable but you will get an error if you for example want to filter the files or call any other array methods on it.

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