Skip to content

Disallowing multiple file drop on a single file input #546

@moniuch

Description

@moniuch

Thank you all for creating and maintaining this package ❤️

Is there any pattern that I am missing which could prevent dropping multiple items if the input does not have the multiple attribute on it? Perhaps via UploadOutput.type = 'dropDisallowed'

While I could arbitrarily pick any one from the files array, for the user it wouldn't be an educating and instructive experience, so I wish I could present them a no-entry cursor over the drop area if they are dragging over multiple files in such case.

Or would that be a feature request?

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