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.
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.