Skip to content

Upload should implement HasEnabled #2182

@VincentVanGoethem

Description

@VincentVanGoethem

Vaadin Flow’s upload component has no longer a setEnabled method. I can set a custom uploadButton and call that button’s setEnabled(false) method. Even though that button is disabled, I can still click it and an upload popup will appear.
Workaround: call upload.setMaxFiles(0) to prevent an upload popup to appear.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions