Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload should implement HasEnabled #2182

Open
vincentvg opened this issue Oct 4, 2021 · 0 comments
Open

Upload should implement HasEnabled #2182

vincentvg opened this issue Oct 4, 2021 · 0 comments
Labels

Comments

@vincentvg
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants