Skip to content

setting max_size on dcc.Upload does not restrict users #2638

Open
@afultonuq

Description

@afultonuq

Bug

Setting max_size on the dcc.Upload component does not restrict users from selecting a file over the max_size limit.

Rather, the max_size seems to restrict the component from triggering a callback (either through filename or contents inputs). This makes it very difficult to provide user feedback on the file being too large.

Expected behavior

A file over the max_size limit should not be selectable, or should still trigger the callback, perhaps with contents = None?

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogbugsomething brokensev-3annoyance with workaround

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions